Simple node
script which listens for certain events from socket.io
and switches colors on a LED strip, matching each color configured for a player
- Install all node dependencies
npm install
- Make sure to set correct
GPIO
pins for theRGB
strip inkcapp-colors.js
const led = require("./led-util")(R, G, B);
- Run with
npm start
# ... or for testing (on a non-RPi)
npm run mock
Make sure match
is started in a venue with has_led_lights
enabled.