Playground-IO
A special Firmata.js wrapper for Adafruit Circuit Playground. Exposes controllers that provide access to Circuit Playground's Firmata extensions.
Setup
Before you can use Johnny-Five and Playground-IO, your Circuit Playground board MUST have the CircuitPlaygroundFirmata firmware variant uploaded. For instructions, visit Adafruit's Circuit Playground Firmata tutorial. Once complete, your Circuit Playground is ready to communicate with Johny-Five programs running in Node.js. Go ahead and install the following:
npm install johnny-five playground-io
Now you can try out the examples below!
Playground.Pixel
Control the Neopixels directly attached to the board.
var Playground = ;var five = ;var board = io: port: "/dev/tty.usbmodem1411" // Passing Firmata options through: // Circuit Playground Firmata seems not to report version before timeout, // lower timeout to reduce initial connection time. reportVersionTimeout: 200 ;board;
License
See LICENSE file.