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:
13:7dcb1642ef99
Parent:
11:676ea42afd56
Child:
15:eb6a274b3dfb
diff -r 256c303ad09d -r 7dcb1642ef99 Hardwares/PinAssignment.h
--- a/Hardwares/PinAssignment.h	Wed Feb 08 18:00:33 2017 +0000
+++ b/Hardwares/PinAssignment.h	Wed Feb 08 23:47:02 2017 +0000
@@ -3,23 +3,24 @@
 #define PIN_ASSIGNMENT_H
 
 //LED Manager Class
-#define LMC_LED_RED    LED_RED
-#define LMC_LED_GREEN  LED_GREEN
-#define LMC_LED_BLUE   LED_BLUE
+#define PIN_LMC_LED_RED    LED_RED
+#define PIN_LMC_LED_GREEN  LED_GREEN
+#define PIN_LMC_LED_BLUE   LED_BLUE
 
 
 //Motor Class
-#define MC_DIR_L       PTA13
-#define MC_DIR_R       PTC9
-#define MC_SPEED_L     PTD0
-#define MC_SPEED_R     PTD5
+#define PIN_MC_DIR_L       PTA13
+#define PIN_MC_DIR_R       PTC9
+#define PIN_MC_SPEED_L     PTD0
+#define PIN_MC_SPEED_R     PTD5
 
 
 //Servo
-#define SC_SERVO          PTB0
+#define PIN_SC_SERVO       PTB0
 
 //Camera Class
-
+#define PIN_CC_SDA         PTC11
+#define PIN_CC_SCL         PTC10