summaryrefslogtreecommitdiffstatshomepage
path: root/examples/hwapi/soft_pwm2_uasyncio.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-05-17 00:42:26 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-05-17 00:44:00 +0300
commit0af974b77754ea8bcdaab07527fe685b3fc11631 (patch)
treede892564feefd9c8e5602aa4fee711934d292581 /examples/hwapi/soft_pwm2_uasyncio.py
parent0912334f54f5cdf1d7784032e64e23495d854bed (diff)
downloadmicropython-0af974b77754ea8bcdaab07527fe685b3fc11631.tar.gz
micropython-0af974b77754ea8bcdaab07527fe685b3fc11631.zip
examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().
Following finalized naming in uasyncio.
Diffstat (limited to 'examples/hwapi/soft_pwm2_uasyncio.py')
-rw-r--r--examples/hwapi/soft_pwm2_uasyncio.py2
1 files changed, 1 insertions, 1 deletions
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()