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.
Dependencies: HC_SR04_Ultrasonic_Library PinDetect
Diff: button.cpp
- Revision:
- 1:b4179d7a5f2c
- Parent:
- 0:23a36e52a5fa
diff -r 23a36e52a5fa -r b4179d7a5f2c button.cpp
--- a/button.cpp	Thu Jun 28 15:33:29 2018 +0000
+++ b/button.cpp	Fri Jun 29 08:52:41 2018 +0000
@@ -1,6 +1,8 @@
 #include "radar.h"
 // Callback routine is interrupt activated by a debounced pb hit
-
+// must import Cookbook PinDetct library into project
+// URL: http://mbed.org/users/AjK/libraries/PinDetect/lkyxpw
+#include "PinDetect.h"
 
 void pb_hit_callback (void) {
     position++;