first commit

Dependencies:   mbed MMA8451Q

Revision:
4:8b1d52dab862
Parent:
2:c857935f928e
Child:
5:636c3fe18aa8
--- a/state_control.h	Mon Oct 25 01:39:55 2021 +0000
+++ b/state_control.h	Mon Oct 25 01:53:10 2021 +0000
@@ -2,12 +2,12 @@
     This file controls the three states of the car 
     
 */
-InterruptIn stop_button(PTD0); 
-InterruptIn wait_button(PTD5);  
-InterruptIn run_button(PTA13);
-DigitalOut red_led(PTA16);
-DigitalOut green_led(PTA17);
-DigitalOut yellow_led(PTE31);
+InterruptIn stop_button(PTD0);
+InterruptIn run_button(PTD5); 
+InterruptIn wait_button(PTA13);  
+DigitalOut red_led(PTC16);
+DigitalOut green_led(PTC13);
+DigitalOut yellow_led(PTC12);
    
 // Available states 
 enum states {STOP, WAIT, RUN};