How to start
- install firmata(firmatabuilder) on your board. it is required to johnny-five integration.
- install nodejs
- run
npm i
- define env variable
dispatcherUrl
(by defaulthttps://localhost:8080
) it is an url or your dispatcher - define
serialPort
by default it will try to autodetect arduino - run
npm start
How to Enable Status Indication(raspberry only) it is required to set env variable. GPIO 3, and 4 are used. Don't forget to assembly them with resistors.
on linux
export statusHandlers=led/led-status-handlers
on windows (power shell):
$env:statusHandlers="statusHandlers=led/led-status-handlers"
by default it has value:
statusHandlers="console-status-handlers"