Example #1
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 #2
0
		public static void Connect ()
		{
			Print ("Connecting. Please wait!");
			_myo = Myo.ConnectEasyPreConfigured ("/dev/ttyACM0", NotificationAutoConfigurableValues.All);
			_contr = _myo.Controller;
			Print ("Connected");
		}
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
		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 #5
0
		public static Myo ConnectFullControl (string port, MyoConfig cfg = null)
		{
			Myo myo = new Myo (cfg);
			myo.ConnectToDevice (port, NotificationSubscriptionMode.FullControl);
			return myo;
		}