update
This commit is contained in:
parent
1ef9ec4e45
commit
7cd5b48909
@ -43,6 +43,9 @@ io.on('connection', (client) => {
|
||||
case 'clear':
|
||||
sense.clear()
|
||||
break
|
||||
case 'temp':
|
||||
read_all_leds()
|
||||
break
|
||||
default:
|
||||
break
|
||||
}
|
||||
@ -55,4 +58,5 @@ function read_led(x, y) {
|
||||
|
||||
function read_all_leds() {
|
||||
const a = sense.getPixels()
|
||||
console.table(a)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user