This commit is contained in:
赵鑫 2022-09-05 13:44:48 +08:00
parent ab2601e6e2
commit 439973bdd6

View File

@ -77,7 +77,7 @@ io.on('connection', (client) => {
break
case 'setPixel':
if (color == undefined) color = [255, 255, 255]
sensehat.led.setPixel(x, y, 255, 255, 255)
// sensehat.led.setPixel(x, y, 255, 255, 255)
// io.emit('action', { action: 'setPixel', x, y, color: [255, 255, 255] })
break
// case 'getPixel':