![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test reed switch for bike cadence & speed
Dependencies: mbed
Fork of Blinking Led by
Diff: main.cpp
- Revision:
- 7:d6844dacbd2e
- Parent:
- 6:0ef5a242ed00
diff -r 0ef5a242ed00 -r d6844dacbd2e main.cpp --- a/main.cpp Wed Apr 29 23:00:36 2015 +0000 +++ b/main.cpp Tue May 05 07:00:50 2015 +0000 @@ -1,4 +1,5 @@ #include "mbed.h" + #define BAUD_RATE 9600 //default baud rate InterruptIn button(p1);