Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cherry-myo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cherry-myo

cherry plugin to listen for Myo events and send vibrations

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

# 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"});

Keywords

FAQs

Package last updated on 25 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc