Example #1
0
        public static Myo ConnectFullControl(string port, MyoConfig cfg = null)
        {
            Myo myo = new Myo(cfg);

            myo.ConnectToDevice(port, NotificationSubscriptionMode.FullControl);
            return(myo);
        }
Example #2
0
		public static Myo ConnectEasyPreConfigured (string port, NotificationAutoConfigurableValues config, MyoConfig cfg = null)
		{
			Myo myo = new Myo (cfg);
			myo.ConnectToDevice (port, NotificationSubscriptionMode.EasyConfigurable, config);
			return myo;
		}
Example #3
0
		public static Myo ConnectFullControl (string port, MyoConfig cfg = null)
		{
			Myo myo = new Myo (cfg);
			myo.ConnectToDevice (port, NotificationSubscriptionMode.FullControl);
			return myo;
		}
Example #4
0
		private Myo (MyoConfig cfg)
		{
			_config = cfg ?? new MyoConfig ();
		}
Example #5
0
        public static Myo ConnectEasyPreConfigured(string port, NotificationAutoConfigurableValues config, MyoConfig cfg = null)
        {
            Myo myo = new Myo(cfg);

            myo.ConnectToDevice(port, NotificationSubscriptionMode.EasyConfigurable, config);
            return(myo);
        }
Example #6
0
 private Myo(MyoConfig cfg)
 {
     _config = cfg ?? new MyoConfig();
 }