CPython pyb.py placeholder: Implement delay().

genexit-inst
Paul Sokolovsky 2014-01-16 19:07:08 +02:00
parent a671f891dd
commit 2aefde06b7
1 changed files with 4 additions and 2 deletions

View File

@ -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():