update
This commit is contained in:
parent
f545b53ad5
commit
23c1bca75f
@ -60,7 +60,6 @@ function read_all_leds() {
|
||||
const pixels = sense.getPixels()
|
||||
for (let y = 0; y < 8; y++) {
|
||||
for (let x = 0; x < 8; x++) {
|
||||
const element = array[x]
|
||||
leds[y][x] = sense.getPixel(x, y) == [0, 0, 0] ? 0 : 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user