This commit is contained in:
赵鑫 2022-09-01 13:40:43 +08:00
parent bd3c9a177a
commit 1ef9ec4e45

View File

@ -19,6 +19,7 @@ const leds = [
[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
] ]
io.on('connection', (client) => { io.on('connection', (client) => {
client.on('action', ({ action, x, y }) => { client.on('action', ({ action, x, y }) => {
console.log({ action, x, y }) console.log({ action, x, y })