diff --git a/sensehat.js b/sensehat.js index 2622b74..181d037 100644 --- a/sensehat.js +++ b/sensehat.js @@ -19,6 +19,7 @@ const leds = [ [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], ] + io.on('connection', (client) => { client.on('action', ({ action, x, y }) => { console.log({ action, x, y })