From 0af974b77754ea8bcdaab07527fe685b3fc11631 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 17 May 2017 00:42:26 +0300 Subject: [PATCH] examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms(). Following finalized naming in uasyncio. --- examples/hwapi/soft_pwm2_uasyncio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hwapi/soft_pwm2_uasyncio.py b/examples/hwapi/soft_pwm2_uasyncio.py index abeb4b1bfc..908ef2d8ac 100644 --- a/examples/hwapi/soft_pwm2_uasyncio.py +++ b/examples/hwapi/soft_pwm2_uasyncio.py @@ -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()