summaryrefslogtreecommitdiffstatshomepage
path: root/examples/hwapi/button_led.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hwapi/button_led.py')
-rw-r--r--examples/hwapi/button_led.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hwapi/button_led.py b/examples/hwapi/button_led.py
index bd6fe01729..c73bcfc89a 100644
--- a/examples/hwapi/button_led.py
+++ b/examples/hwapi/button_led.py
@@ -1,4 +1,4 @@
-import utime
+import time
from hwconfig import LED, BUTTON
# Light LED when (and while) a BUTTON is pressed
@@ -6,4 +6,4 @@ from hwconfig import LED, BUTTON
while 1:
LED.value(BUTTON.value())
# Don't burn CPU
- utime.sleep_ms(10)
+ time.sleep_ms(10)