examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().
Following finalized naming in uasyncio.
This commit is contained in:
parent
0912334f54
commit
0af974b777
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue