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>
This commit is contained in:
commit
698c1463c0
41 files changed
+4369
-4
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