Update(boards): micropython板卡执行 build:prod
This commit is contained in:
@@ -228,6 +228,7 @@ class BOT035(FrameBuffer):
|
||||
"""Reset SPK, PWM, HID registers to default state"""
|
||||
self._i2c.writeto_mem(_BOT035_ADDRESS, _BOT035_SPK, b'\x0A\x00\x00\x00\x20\x4E\x64\x64')
|
||||
if self._version: self._i2c.writeto_mem(_BOT035_ADDRESS, _BOT035_KB, bytes(9))
|
||||
|
||||
def get_brightness(self):
|
||||
return self._brightness
|
||||
|
||||
@@ -319,14 +320,14 @@ class BOT035(FrameBuffer):
|
||||
print("Warning: Please upgrade the coprocessor firmware to use this feature")
|
||||
|
||||
"""Graph module"""
|
||||
HEART=b'\x00\x0c\x1e?~\xfc~?\x1e\x0c\x00\x00'
|
||||
HEART_SMALL=b'\x00\x00\x0c\x1e<x<\x1e\x0c\x00\x00\x00'
|
||||
HAPPY=b'\x00\x06\x06\x10 @@ \x10\x06\x06\x00'
|
||||
SAD=b'\x04\x02\x02B \x10\x10 B\x02\x02\x04'
|
||||
SMILE=b'\x04\x02\x02$@\x80\x80@$\x02\x02\x04'
|
||||
ANGRY=b'\x01\x02\x84B!\x10\x10!B\x84\x02\x01'
|
||||
NO=b'\x00\x00\x00B$\x18\x18$B\x00\x00\x00'
|
||||
YES=b'\x00\x00\x10 @@ \x10\x08\x04\x02\x00'
|
||||
DOOR_OPEN=b'\x00\x00\xfe\x03\x03\x03\x13\x13\xff\xfe\x00\x00'
|
||||
DOOR_OPENING=b'\x00\x00\xfe\x03\x03\x15\xf9\x01\x01\xfe\x00\x00'
|
||||
DOOR_CLOSE=b'\x00\x00\xfe\xfd\x01\x01\x01\x01\x01\xfe\x00\x00'
|
||||
HEART =b'\x00\x0c\x1e?~\xfc~?\x1e\x0c\x00\x00'
|
||||
HEART_SMALL =b'\x00\x00\x0c\x1e<x<\x1e\x0c\x00\x00\x00'
|
||||
HAPPY =b'\x00\x06\x06\x10 @@ \x10\x06\x06\x00'
|
||||
SAD =b'\x04\x02\x02B \x10\x10 B\x02\x02\x04'
|
||||
SMILE =b'\x04\x02\x02$@\x80\x80@$\x02\x02\x04'
|
||||
ANGRY =b'\x01\x02\x84B!\x10\x10!B\x84\x02\x01'
|
||||
NO =b'\x00\x00\x00B$\x18\x18$B\x00\x00\x00'
|
||||
YES =b'\x00\x00\x10 @@ \x10\x08\x04\x02\x00'
|
||||
DOOR_OPEN =b'\x00\x00\xfe\xfd\x01\x01\x01\x01\x01\xfe\x00\x00'
|
||||
DOOR_OPENING =b'\x00\x00\xfe\x03\x03\x15\xf9\x01\x01\xfe\x00\x00'
|
||||
DOOR_CLOSE =b'\x00\x00\xfe\x03\x03\x03\x13\x13\xff\xfe\x00\x00'
|
||||
|
||||
Reference in New Issue
Block a user