Nanobots Protecting Microbots
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    cherry-myopublic

    cherry-myo

    config

    "myo": {
      "host": "192.168.1.169",
      "port": 7024,
      "path": "/myo/1",
    }

    api

    cf. Myo Connect WebSocket API announcement at https://developer.thalmic.com/forums/topic/534/. e.g.

    cherry.handle({
      myo: function (message) {
        var plugins = cherry.plugins();
        if (message.type === 'pose') {
          var pose = message.pose
     
          if (pose === 'wave_in') {
            plugins.hue({on: true});
          } else if (intent === 'wave_out') {
            plugins.hue({on: false});
          }
        }
      }
    });
    cherry.plugins().myo({"command": "vibrate", "myo": 0, "type": "short"});
     

    install

    npm i cherry-myo

    Downloadslast 7 days

    1

    version

    1.0.0

    license

    ISC

    repository

    github.com

    last publish

    collaborators

    • avatar