Work in progress from the same tree as the controller's sequences-v2 changes. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
13 lines
427 B
Python
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
|