Ultrasonic sensor project. Displays readings on LCD. Reverse parking sensor.

Dependencies:   N5110 SRF02 beep mbed

Revision:
2:f48fe83aecca
Parent:
0:a4f69f448e86
Child:
3:3dc3d2da405a
--- a/main.cpp	Thu May 07 15:31:53 2015 +0000
+++ b/main.cpp	Thu May 07 15:40:58 2015 +0000
@@ -16,7 +16,9 @@
 @brief GPIO led for the red led
 @namespace lcd
 @brief initilize the lcd display
-@brief ISR  button and button2
+@namespace button
+@brief use the ISR for the button
+@namespace serial
 @brief serial connect to the computer to set RTC
 @namespace buzzer
 @breif set the buzzer 
@@ -217,7 +219,11 @@
     
 
 }
-
+/**
+add a variable 
+@param a - integer to add 
+@converts a string to an integer into a 
+*/
 void setTime()
 {
     // pring something for debugging
@@ -227,7 +233,9 @@
     //update the time
     set_time(time);
 }
-
+/**
+@when the serial interrupt occures, read rx string into buffer
+*/
 void serialISR()
 {   
     //when a serial interrupt occurs, read rx string into buffer