Files
led-controller/stubs/_simlink.py
T
jimmyandClaude Haiku 5.5 4d8aeb5df8 feat: simulator bridge, rig seed and web UI (in progress)
Work in progress from the same tree as the controller's sequences-v2 changes.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-11 14:10:55 +13:00

13 lines
427 B
Python

"""Driver side of the simulator link: radio, pixels, flash and sleeps.
In the browser (Pyodide) this is ``_simlink_web``. Under CPython (``bridge_sim.py`` /
``sim_driver.py``) it is ``_simlink_proc``: a multiprocessing connection to the bridge.
"""
try:
import js # noqa: F401 (Pyodide only)
except ImportError:
from _simlink_proc import * # noqa: F401,F403
else:
from _simlink_web import * # noqa: F401,F403