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
GPIOpins for theRGBstrip inkcapp-colors.js
const led = require("./led-util")(R, G, B);- Run with
npm start
# ... or for testing (on a non-RPi)
npm run mockMake sure match is started in a venue with has_led_lights enabled.
