Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
0af974b7
Commit
0af974b7
authored
May 17, 2017
by
Paul Sokolovsky
Browse files
examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().
Following finalized naming in uasyncio.
parent
0912334f
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/hwapi/soft_pwm2_uasyncio.py
View file @
0af974b7
...
...
@@ -27,5 +27,5 @@ async def fade_in_out(LED):
loop
=
uasyncio
.
get_event_loop
()
loop
.
create_task
(
fade_in_out
(
LED
))
loop
.
call_later_ms
_
(
800
,
fade_in_out
(
LED2
))
loop
.
call_later_ms
(
800
,
fade_in_out
(
LED2
))
loop
.
run_forever
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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