display_driver
display_driver ¶
display_driver.py - LVGL driver configuration for pydisplay. Requires a valid board_config.py to be in a directory on the micropython path.
Functions:¶
run ¶
run()
Keep LVGL alive on the main thread when a blocking loop is required.
On MicroPython unix and CPython (non-Windows), lv_utils already started
a periodic timer at import display_driver time — this returns immediately
so the REPL stays usable while the UI runs.
On Windows (MicroPython and CPython), blocks in run_queued() +
broker.poll() because the SDL message pump needs the main thread.
On macOS, blocks in lv_utils.event_loop.run() (manual tick loop).