This commit is contained in:
赵鑫 2022-09-05 10:06:39 +08:00
parent c9eaefb12d
commit 66a5a0ebd4

View File

@ -42,9 +42,6 @@ const sensehat = {
}
sensehat.led.clear()
sensehat.led.lowLight = true
sensehat.led.sleep(2)
sensehat.led.lowLight = false
sensehat.led.setPixels([
R, O, O, O, O, O, O, O,
O, _, _, _, _, _, _, O,
@ -55,6 +52,9 @@ sensehat.led.setPixels([
O, _, _, _, _, _, _, O,
O, O, O, O, O, O, O, O,
])
sensehat.led.lowLight = true
sensehat.led.sleep(2)
sensehat.led.lowLight = false
console.log(sensehat.led.rotation)
console.log(sensehat.led.lowLight)