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

Committer:
hazheng
Date:
Wed Feb 08 23:47:02 2017 +0000
Revision:
13:7dcb1642ef99
Parent:
11:676ea42afd56
Child:
15:eb6a274b3dfb
Finished reading SCCB from camera.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Bobymicjohn 8:92f6baeea027 1 #pragma once
Bobymicjohn 8:92f6baeea027 2 #ifndef PIN_ASSIGNMENT_H
Bobymicjohn 8:92f6baeea027 3 #define PIN_ASSIGNMENT_H
Bobymicjohn 8:92f6baeea027 4
Bobymicjohn 8:92f6baeea027 5 //LED Manager Class
hazheng 13:7dcb1642ef99 6 #define PIN_LMC_LED_RED LED_RED
hazheng 13:7dcb1642ef99 7 #define PIN_LMC_LED_GREEN LED_GREEN
hazheng 13:7dcb1642ef99 8 #define PIN_LMC_LED_BLUE LED_BLUE
Bobymicjohn 8:92f6baeea027 9
Bobymicjohn 8:92f6baeea027 10
Bobymicjohn 8:92f6baeea027 11 //Motor Class
hazheng 13:7dcb1642ef99 12 #define PIN_MC_DIR_L PTA13
hazheng 13:7dcb1642ef99 13 #define PIN_MC_DIR_R PTC9
hazheng 13:7dcb1642ef99 14 #define PIN_MC_SPEED_L PTD0
hazheng 13:7dcb1642ef99 15 #define PIN_MC_SPEED_R PTD5
Bobymicjohn 8:92f6baeea027 16
Bobymicjohn 8:92f6baeea027 17
Bobymicjohn 10:fedb5786a109 18 //Servo
hazheng 13:7dcb1642ef99 19 #define PIN_SC_SERVO PTB0
Bobymicjohn 8:92f6baeea027 20
Bobymicjohn 8:92f6baeea027 21 //Camera Class
hazheng 13:7dcb1642ef99 22 #define PIN_CC_SDA PTC11
hazheng 13:7dcb1642ef99 23 #define PIN_CC_SCL PTC10
Bobymicjohn 8:92f6baeea027 24
Bobymicjohn 8:92f6baeea027 25
Bobymicjohn 8:92f6baeea027 26
Bobymicjohn 8:92f6baeea027 27 #endif