Files
led-simulator/led_driver_sim_hook.py
Jimmy 42c14361e8 feat(simulator): add GUI runner, stubs, and workspace assets
Add host simulator scaffolding, examples, and docs so led-driver main can run end-to-end with MicroPython module stubs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-04 22:48:54 +12:00

18 lines
240 B
Python

"""Host-only: led-simulator registers the Microdot app so Stop can call shutdown()."""
_app = None
def register_app(app):
global _app
_app = app
def get_app():
return _app
def clear_app():
global _app
_app = None