public static Myo ConnectEasyPreConfigured(string port, NotificationAutoConfigurableValues config, MyoConfig cfg = null) { Myo myo = new Myo(cfg); myo.ConnectToDevice(port, NotificationSubscriptionMode.EasyConfigurable, config); return(myo); }
public static void Connect () { Print ("Connecting. Please wait!"); _myo = Myo.ConnectEasyPreConfigured ("/dev/ttyACM0", NotificationAutoConfigurableValues.All); _contr = _myo.Controller; Print ("Connected"); }
public static Myo ConnectFullControl(string port, MyoConfig cfg = null) { Myo myo = new Myo(cfg); myo.ConnectToDevice(port, NotificationSubscriptionMode.FullControl); return(myo); }
public static Myo ConnectEasyPreConfigured (string port, NotificationAutoConfigurableValues config, MyoConfig cfg = null) { Myo myo = new Myo (cfg); myo.ConnectToDevice (port, NotificationSubscriptionMode.EasyConfigurable, config); return myo; }
public static Myo ConnectFullControl (string port, MyoConfig cfg = null) { Myo myo = new Myo (cfg); myo.ConnectToDevice (port, NotificationSubscriptionMode.FullControl); return myo; }