summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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()