Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
2aefde06
Commit
2aefde06
authored
Jan 16, 2014
by
Paul Sokolovsky
Browse files
CPython pyb.py placeholder: Implement delay().
parent
a671f891
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/pyb.py
View file @
2aefde06
# 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
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment