update
This commit is contained in:
parent
6ec7b80b3e
commit
c02b42fae3
@ -125,7 +125,8 @@ io.on('connection', (client) => {
|
|||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 'showLetter':
|
case 'showLetter':
|
||||||
sensehat.led.showLetter(character)
|
if (color == undefined) color = [255, 255, 255]
|
||||||
|
sensehat.led.showLetter(character, color, backcolor)
|
||||||
io.emit('action', { action: 'setPixels', pixels: sensehat.led.pixels })
|
io.emit('action', { action: 'setPixels', pixels: sensehat.led.pixels })
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user