Reverse Parking sensor

Dependencies:   N5110 SRF02 buzzer mbed

Fork of ParkingSENSOR by Renosi Momoh

Revision:
3:68cabac00547
Parent:
1:775f6e8071a2
--- a/main.h	Thu May 05 14:17:42 2016 +0000
+++ b/main.h	Thu May 05 14:29:39 2016 +0000
@@ -72,17 +72,10 @@
 void init_serial();  //*!< function to activate onboard switches and LEDs */
 void timer_isr();
 volatile int g_timer_flag = 0; /** @Brief G flag makes things easier to distinguish as this is a global variable **/
-volatile int g_timer2_flag = 0;
-volatile int g_sw3_flag = 0;
-volatile int g_sw2_flag = 0;
-volatile int g_timer1_flag = 0;
-void sw2_isr();
-void sw3_isr();
-
-
-
-
-
+volatile int g_sw3_flag = 0; //*!< Flag used in interrupt for button 3 */
+volatile int g_sw2_flag = 0; //*!< Flag used in interrupt for button 2 */
+void sw2_isr(); //*!< Interrupt Service Routine for button 2 */
+void sw3_isr(); //*!< Flag used in interrupt for button 3 */
 void delete_file(char filename[]); // Function to call for deletion of file.
 
 /** Misc **/