CPython pyb.py placeholder: Implement delay().
This commit is contained in:
parent
a671f891dd
commit
2aefde06b7
|
@ -1,7 +1,9 @@
|
|||
# pyboard testing functions for PC
|
||||
# pyboard testing functions for CPython
|
||||
import time
|
||||
|
||||
|
||||
def delay(n):
|
||||
pass
|
||||
time.sleep(float(n) / 1000)
|
||||
|
||||
rand_seed = 1
|
||||
def rand():
|
||||
|
|
Loading…
Reference in New Issue