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:
- 28:271fc8445e89
- Parent:
- 27:c68f711e5b67
- Child:
- 29:f87d8790f57d
--- a/Hardwares/PinAssignment.h Tue Feb 21 22:27:10 2017 +0000 +++ b/Hardwares/PinAssignment.h Mon Feb 27 21:43:59 2017 +0000 @@ -2,6 +2,8 @@ #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 @@ -38,4 +40,12 @@ #define PIN_WE_RL PTD0 #define PIN_WE_RR PTD5 +////////////////////////////////////// +//Global Ports +#define PIN_SPI_MOSI PTD2 +#define PIN_SPI_MISO PTD3 +#define PIN_SPI_SCK PTD1 + +extern SPI g_spi_port; + #endif \ No newline at end of file