Files
led-controller/led-simulator/stubs/_simlink.py
T
jimmyandClaude Opus 5.5 698c1463c0 chore: move led-simulator in from its submodule
Merges led-simulator (sim-bridge, 4d8aeb5) under led-simulator/ with its history,
in place of the submodule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:08:49 +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