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

View File

@ -35,13 +35,16 @@ const sensehat = {
flipV(redraw=true) 垂直反转
setRotation(r, redraw=true) 设置旋转r初始为0r只能设置为0/90/180/270
getter rotation
getter and setter lowLight 默认为true
*/
get pixels() { return sensehat.led.getPixels() },
},
}
sensehat.led.clear()
// sensehat.led.lowLight = true
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,