examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().

Following finalized naming in uasyncio.
This commit is contained in:
Paul Sokolovsky 2017-05-17 00:42:26 +03:00
parent 0912334f54
commit 0af974b777
1 changed files with 1 additions and 1 deletions

View File

@ -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()