***Bug*** ERROR use RGB - Freezes after loop execution: 54 times [Alpha-29, AtomS3-lite]
-
def loop():
global rgb, i
M5.update()
i = (i if isinstance(i, (int, float)) else 0) + 1
print(i)
rgb.fill_color(0x33ff33)_________ error ________
52
53
54
Traceback (most recent call last):
File "<stdin>", line 24, in <module>
File "<stdin>", line 19, in loop
File "driver/neopixel/init.py", line 87, in fill_color
File "driver/neopixel/init.py", line 50, in write
OSError: [Errno 1] EPERM: ESP_FAIL
-
Hello @Slater
try adding a
Sleep 100 microseconds
block afterrgb fill color
block to slow down the loop. Works for me.Thanks
Felix -
@Slater This bug is not reproduced in uiflow 2.0.1