test reed switch for bike cadence & speed
Dependencies: mbed
Fork of Blinking Led by
Revision 7:d6844dacbd2e, committed 2015-05-05
- Comitter:
- balczezzz
- Date:
- Tue May 05 07:00:50 2015 +0000
- Parent:
- 6:0ef5a242ed00
- Commit message:
- reed switch small tweaks
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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);