Pure Micro Python without Ui-Flow on my M5Stack core2
-
@favnec5 Here is another Micropython port for the Core2. Already thried that with my core2: https://github.com/thuehlinger/micropython-core2
Another note: you do not need to use another firmware, you can use Micropython directly by just not using uiflow. See my repo https://github.com/hjgode/m5home within the lv dir: lv_test.py
Be warned, the LV Binding is not very well documented and often only links to the C API. -
I tried to get your compiled firmware, but that ZippyShare site keeps trying to download other things and I can't get it to download your file.
Thanks,
/Chris -
@purpledread That link still works for me, but here it is uploaded to an alternative.
-
Thanks, the new upload link worked.
/Chris
-
That's all working now, including using ampy to copy files and run code.
I'm use to using Mu Editor with my other ESP32 boards.
Is there some way to run Python code and get back error messages if there is an issue in the code?
Thanks!
/Chris -
@purpledread
I'm using VSCode with the PyMakr extension (see LeMaRiva's blog for install-instructions).
Nice IDE with integrated serial-console for REPL and up-/downloading of files.But I guess any serial-console (i.E. PuTTY) should allow you to see error messages.
Also check micropython.org for instructions to get a REPL over the serial port. -
-
I'm trying to read from the SD card on startup and then use the display.
If I access the sd card, the program runs with no errors, but nothing displays.
I tried initializing the display using the example you gave, but I get an error that there isn't enough DMA-able memory to allocate the display buffer.
/Chris
-
-
-
Is it possible to use m5stack_ui here?
How do it?