SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Revision:
44:15de535c4005
Parent:
41:7b21c5e3599e
Child:
46:a5eb9bd3bb55
--- a/Hardwares/PinAssignment.h	Mon Mar 27 22:09:22 2017 +0000
+++ b/Hardwares/PinAssignment.h	Wed Mar 29 21:19:27 2017 +0000
@@ -11,12 +11,13 @@
 
 //Motor Class
 #define PIN_MC_DIR_L       PTD4
+#define PIN_MC_SPEED_L     PTA12
+
 #define PIN_MC_DIR_R       PTA4
-#define PIN_MC_SPEED_L     PTA12
 #define PIN_MC_SPEED_R     PTA5
 
 //Servo
-#define PIN_SC_SERVO       PTB0
+#define PIN_SC_SERVO       PTE20
 
 //Camera Class
 #define PIN_CC_PCLOCK      PTA17
@@ -45,6 +46,8 @@
 
 //ArduUTFT Class
 #define PIN_AUC_CS         PTC13
+#define PIN_AUC_TOUCH_CS   PTC16
+#define PIN_AUC_SD_CS      PTC17
 
 //////////////////////////////////////
 //Global Ports