update
This commit is contained in:
parent
6ec7b80b3e
commit
c02b42fae3
@ -125,7 +125,8 @@ io.on('connection', (client) => {
|
||||
}
|
||||
break
|
||||
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 })
|
||||
break
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user