Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 0af974b

Browse files
author
Paul Sokolovsky
committed
examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().
Following finalized naming in uasyncio.
1 parent 0912334 commit 0af974b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/hwapi/soft_pwm2_uasyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ async def fade_in_out(LED):
2727

2828
loop = uasyncio.get_event_loop()
2929
loop.create_task(fade_in_out(LED))
30-
loop.call_later_ms_(800, fade_in_out(LED2))
30+
loop.call_later_ms(800, fade_in_out(LED2))
3131
loop.run_forever()

0 commit comments

Comments
 (0)