Traceback on AtomMatrix when running example
-
Hi all,
I am a newbie to M5Stack, just got my AtomMatrix and a few other goodies.
I followed the instructions
https://docs.m5stack.com/#/en/quick_start/atom/atom_quick_start_uiflowAnd ran the example code
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/Atom/Atom MatrixThen I receive an error on the serial console and AtomMatrix shows a red X
Traceback (most recent call last): File "flow/m5cloud.py", line 82, in _exec_fun File "<string>", line 7, in <module> File "units/_rgb_multi.py", line 47, in set_screen IndexError: list index out of range
UIFlow Web v1.4.5
AtomMatrix v.1.6.5
M5Burner 2.1.6Any ideas how to fix this?
Thanks
Mike -
Hello Mike
I don't know if it helps, but I wouldn't mix UIFlow versions. Try selecting beta in UIFlow Web which should match the UIFlow firmware v1.6.5 on your M5AtomMatrix.
Felix
-
Thanks, I erased and re-flashed the AtomMatrix, now using v1.6.5 on device and web editor.
A simple test program is working:
But the official example from GitHub is failing with v1.6.5 (web + firmware).
Traceback (most recent call last): File "flow/m5cloud.py", line 82, in _exec_fun File "<string>", line 7, in <module> File "units/_rgb_multi.py", line 47, in set_screen IndexError: list index out of range
-
thank you feedback, we will fix it as soon as possible.
-
Hello Mike
it looks like the AtomMatrix example has been replaced and works now. (And yes, the previous example was broken for me too.)
Cheers
Felix -
Thanks!
-
it is an old version program compatible problem. now we updated a new example.
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/Atom/Atom Matrix