Fix: 修复MicroPython MixGoAI和Microbit下一些py异常同时格式化代码

This commit is contained in:
王立帮
2024-12-03 10:36:49 +08:00
parent e6c9a30bdc
commit ee04dadb66
71 changed files with 3265 additions and 2382 deletions

View File

@@ -32,7 +32,7 @@ class OLED12864_I2C():
self.screen[0] = 0x40
def command(self, c):
i2c.write(self.ADDR, b'·' + bytearray(c))
i2c.write(self.ADDR, b'\xb7' + bytearray(c))
def set_pos(self, col=0, page=0):
self.command([0xb0 | page]) # page number