update
This commit is contained in:
parent
e5e97f66c4
commit
c9eaefb12d
@ -35,13 +35,16 @@ const sensehat = {
|
||||
flipV(redraw=true) 垂直反转
|
||||
setRotation(r, redraw=true) 设置旋转,r初始为0,r只能设置为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,
|
||||
|
Loading…
Reference in New Issue
Block a user