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

@@ -3,11 +3,13 @@ import neopixel
np = neopixel.NeoPixel(pin12, 4)
def mixly_rgb_show_all(r, g, b):
for led in range(4):
np[led] = (r, g, b)
np.show()
def mixly_rgb_show(led, r, g, b):
np[led] = (r, g, b)
np.show()
np.show()