CPython pyb.py placeholder: Implement delay().

pull/180/head
Paul Sokolovsky 2014-01-16 19:07:08 +02:00
rodzic a671f891dd
commit 2aefde06b7
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

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