Retractable steering wheel

Dependencies:   DebounceIn EthernetInterface PinDetect mbed-rtos mbed

Revision:
3:b72259b5cc7a
Parent:
1:fa873fbcf141
Child:
4:9480e12a2e08
--- a/main.cpp	Fri Jul 01 15:24:18 2016 +0000
+++ b/main.cpp	Thu Jul 21 13:50:25 2016 +0000
@@ -18,11 +18,11 @@
 //**********FIRGELLI**********//
 
 //**********SCREW**********//
-DigitalOut dir(PTE24);
+DigitalOut dir(PTC17); //PTE24 not on shield
 DigitalOut step(PTD0);
-DigitalOut motor_power(PTB20);
+DigitalOut motor_power(PTB3); //PTB20 not on shield
 DebounceIn   switch_top(PTC3);       //top limit switch
-DebounceIn   switch_bottom(PTC5);    //bottom limit switch
+DebounceIn   switch_bottom(PTC2);    //bottom limit switch - PTC5 not on shield
 void motor_power_function(int on_off); //on=1, off=0
 void stop_top();
 void stop_bottom();
@@ -38,7 +38,7 @@
 //**********SEAT**********//
 
 //**********SYSTEM**********// 
-PinDetect reset_switch(PTB18);
+PinDetect reset_switch(PTB18); //PTB18 not on shield
 //void reset_system(); //resets system in case of fault
 //**********SYSTEM**********//