0.0.3 • Published 9 years ago

generator-embedded v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

generator-embedded

Getting faster to a blinking LED with HTTP and the Firmata protocol.

This generator offers:

  • a simple server template that wraps the Firmata module
  • a websocket connection

How to use

HTTP

Put a LED on some Arduino pin, and run:

$ curl localhost:3474/api/6/check

WebSockets

Put a simple switch on Arduino pin 5, and run:

$ wscat -c ws://localhost:3474
connected (press CTRL+C to quit)
  < {"state": 1}

License

MIT (C) 2015 Patrick Mulder

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago