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>
This commit is contained in:
2026-05-04 22:48:54 +12:00
parent 7ce56b64df
commit 42c14361e8
20 changed files with 513 additions and 0 deletions

17
led_driver_sim_hook.py Normal file
View File

@@ -0,0 +1,17 @@
"""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