I am running current lv_micropython and when I run examples, I only see a brief flash of the “TFT Simulator” and it then exits (with exit status 0). Am I doing something wrong?
What worked for me was to build
uasyncio) and run the
example3.py after adding
uasyncio. Perhaps it is a hint for someone.
Just a note, as there are crashes reported for SDL display, I do not have an nVidia card.
When you start
lv_micropython from command line with a script argument, it runs the script and exits.
If you would like to keep the REPL open, add
-i command line argument before your script argument.
If you don’t want the REPL, just make sure your main script doesn’t exit before you actually want to close the window.
uasyncio runs an event loop that blocks everything until it completes. Without
uasyncio, LVGL event loop is running only as long as the script is running.
Thanks for the reply I realized shortly after I posted that this might be a problem.