summaryrefslogtreecommitdiff
path: root/examples/pyb.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-24 22:26:13 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-24 22:26:13 +0000
commit4461970da027ce16b41189f75257239f46a3b087 (patch)
tree23e2850a9304e6f3f2cfd5863b8ce3a54ee01f96 /examples/pyb.py
parent389cb950e8a53fdfd2841fbf90979e442d25318b (diff)
Small edits to examples to get them working again with unix/micropython.
Diffstat (limited to 'examples/pyb.py')
-rw-r--r--examples/pyb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pyb.py b/examples/pyb.py
index f7b52a2a1..65fed6647 100644
--- a/examples/pyb.py
+++ b/examples/pyb.py
@@ -1,9 +1,9 @@
# pyboard testing functions for CPython
import time
-
def delay(n):
- time.sleep(float(n) / 1000)
+ #time.sleep(float(n) / 1000)
+ pass
rand_seed = 1
def rand():