ultrasonic sensors for roboticized zuca project

Dependencies:   HC_SR04_Ultrasonic_Library mbed

Fork of Nucleo_UltrasonicHelloWorld by EJ Teb

Revision:
3:d0e45e12a03f
Parent:
2:1673deaeefad
--- a/main.cpp	Fri Jul 21 17:46:29 2017 +0000
+++ b/main.cpp	Fri Jul 21 17:57:01 2017 +0000
@@ -18,6 +18,11 @@
 ultrasonic mu(p30, p29, .1, 1, &dist);    //Set the trigger pin to D30 and the echo pin to D29
                                         //have updates every .1 seconds and a timeout after 1
                                         //second, and call dist when the distance changes
+                                        
+//Other sensors can be declared here. 
+//ultrasonic nu(pwhatever, pwhatever, .1, 1, &distNu);
+//Then we can have multiple independent sensors that each are interrupt driven? 
+//I'm worried that I don't understand enough about interrupts and counting that this will work.
 
 int main()
 {