This commit is contained in:
赵鑫 2022-09-01 21:22:19 +08:00
parent 9772a8ec3e
commit d3abe2eeda

View File

@ -43,7 +43,7 @@ const job = new CronJob(
}
} else {
let color = sense.getPixel(0, 0)
let [r,g,b] = color
let [r, g, b] = color
sense.setPixel(0, 0, [r, g > 0 ? 0 : 255, b])
}
})