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
Diff: Hardwares/PinAssignment.h
- Revision:
- 29:f87d8790f57d
- Parent:
- 28:271fc8445e89
- Child:
- 34:f79db3bc2f86
--- a/Hardwares/PinAssignment.h Mon Feb 27 21:43:59 2017 +0000 +++ b/Hardwares/PinAssignment.h Wed Mar 01 16:31:36 2017 +0000 @@ -2,12 +2,12 @@ #ifndef PIN_ASSIGNMENT_H #define PIN_ASSIGNMENT_H -#include <mbed.h> + //LED Manager Class #define PIN_LMC_LED_RED LED_RED #define PIN_LMC_LED_GREEN LED_GREEN -#define PIN_LMC_LED_BLUE LED_BLUE +//#define PIN_LMC_LED_BLUE LED_BLUE //Motor Class #define PIN_MC_DIR_L PTD4 @@ -33,12 +33,15 @@ #define PIN_CC_D_7 PTE5 //OV7725RegBuf Class -#define PIN_ORB_SDA PTC11 -#define PIN_ORB_SCL PTC10 +#define PIN_ORB_SDA PTE0 +#define PIN_ORB_SCL PTE1 //Wheel Encoder Class -#define PIN_WE_RL PTD0 -#define PIN_WE_RR PTD5 +#define PIN_WE_RL PTC12 +#define PIN_WE_RR PTC13 + +//ArduCam Class +#define PIN_ACC_CS PTD0 ////////////////////////////////////// //Global Ports @@ -46,6 +49,6 @@ #define PIN_SPI_MISO PTD3 #define PIN_SPI_SCK PTD1 -extern SPI g_spi_port; + #endif \ No newline at end of file