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>
This commit is contained in:
1 parent
4fc3345fc9
commit
4d8aeb5df8
26 files changed
+3907
-288
No files matched your search
@@ -0,0 +1,8 @@
|
||||
"""Map MicroPython ``urandom`` to CPython ``random`` (led-simulator)."""
|
||||
|
||||
from random import choice, randint, random, randrange, seed, uniform # noqa: F401
|
||||
from random import getrandbits as _getrandbits
|
||||
|
||||
|
||||
def getrandbits(n):
|
||||
return _getrandbits(int(n)) if n > 0 else 0
|
||||
Reference in new issue
Block a user