We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a671f89 commit 2aefde0Copy full SHA for 2aefde0
1 file changed
examples/pyb.py
@@ -1,7 +1,9 @@
1
-# pyboard testing functions for PC
+# pyboard testing functions for CPython
2
+import time
3
+
4
5
def delay(n):
- pass
6
+ time.sleep(float(n) / 1000)
7
8
rand_seed = 1
9
def rand():
0 commit comments