summaryrefslogtreecommitdiff
path: root/examples/hwapi/button_led.py
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-02-27 22:03:52 -0500
committerGitHub <noreply@github.com>2018-02-27 22:03:52 -0500
commit568c04e6afa8016062f685b2198c0209f62827f4 (patch)
treed07b76119f715add462983b335797adf64b61249 /examples/hwapi/button_led.py
parent6a2379fd0bfe10017d8abc5c36ef1d470c0d9b27 (diff)
parentea633117d01d94e8d56ed94344e4b3e46b4eef03 (diff)
Merge pull request #650 from tannewt/merge_2x3.0.0-alpha.2
Merge in commits from 2.x branch.
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)