summaryrefslogtreecommitdiff
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.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/hwapi/button_led.py b/examples/hwapi/button_led.py
deleted file mode 100644
index bd6fe0172..000000000
--- a/examples/hwapi/button_led.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import utime
-from hwconfig import LED, BUTTON
-
-# Light LED when (and while) a BUTTON is pressed
-
-while 1:
- LED.value(BUTTON.value())
- # Don't burn CPU
- utime.sleep_ms(10)