update
This commit is contained in:
parent
ab2601e6e2
commit
439973bdd6
@ -77,7 +77,7 @@ io.on('connection', (client) => {
|
|||||||
break
|
break
|
||||||
case 'setPixel':
|
case 'setPixel':
|
||||||
if (color == undefined) color = [255, 255, 255]
|
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] })
|
// io.emit('action', { action: 'setPixel', x, y, color: [255, 255, 255] })
|
||||||
break
|
break
|
||||||
// case 'getPixel':
|
// case 'getPixel':
|
||||||
|
Loading…
Reference in New Issue
Block a user