Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of digitalInInterrupt_sample by
Diff: main.cpp
- Revision:
- 2:071f22412cdc
- Parent:
- 1:13e0c1956b54
- Child:
- 3:05b6a1431a6b
--- a/main.cpp Mon Jan 23 17:26:17 2017 +0000
+++ b/main.cpp Tue Jan 24 18:31:35 2017 +0000
@@ -33,7 +33,7 @@
int main() {
button.mode(PullUp); // Ensure button i/p has pull up
- button.rise(&buttonCallback) ; // Attach function to rise event
+ button.fall(&buttonCallback) ; // Attach function to falling edge
flashT.start(&flash) ; // Start the flashing thread running
}
\ No newline at end of file
