blinky bill

master
louisa 2 years ago
parent 3825942b2a
commit bcd89ee98c

@ -33,7 +33,10 @@ var io = require('socket.io')(server);
io.emit('node-data', data);
});
socket.on("blink", () => {
console.log("Blink event received!");
});
socket.on("message", (message) => {
console.log("Received message:", message);
if (message === "blink") {

Loading…
Cancel
Save