summaryrefslogtreecommitdiffstatshomepage
path: root/examples/hwapi/button_reaction.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hwapi/button_reaction.py')
-rw-r--r--examples/hwapi/button_reaction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hwapi/button_reaction.py b/examples/hwapi/button_reaction.py
index e5a139a575..52bdf79384 100644
--- a/examples/hwapi/button_reaction.py
+++ b/examples/hwapi/button_reaction.py
@@ -1,4 +1,4 @@
-import utime
+import time
import machine
from hwconfig import LED, BUTTON
@@ -18,4 +18,4 @@ while 1:
print("Well, you're *really* slow")
else:
print("You are as slow as %d microseconds!" % delay)
- utime.sleep_ms(10)
+ time.sleep_ms(10)