aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/button_states/button_states.ino
diff options
context:
space:
mode:
Diffstat (limited to 'Mussel/examples/button_states/button_states.ino')
-rw-r--r--Mussel/examples/button_states/button_states.ino20
1 files changed, 0 insertions, 20 deletions
diff --git a/Mussel/examples/button_states/button_states.ino b/Mussel/examples/button_states/button_states.ino
deleted file mode 100644
index 1d91b41..0000000
--- a/Mussel/examples/button_states/button_states.ino
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <Mussel.h>
-
-// instantiate with attitude #5,
-// and pin 9 connected to a button
-Mussel mussel(5, 9);
-
-void setup() {
- Serial.begin(115200);
- mussel.begin();
-
- Serial.printf("\n\nDevice ready: %s\n",
- mussel.desc().c_str());
-}
-
-void loop() {
- Serial.printf("gap:%d\n",
- mussel.read());
-
- delay(1000);
-}