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
Hardwares/PinAssignment.h@11:676ea42afd56, 2017-02-07 (annotated)
- Committer:
- Bobymicjohn
- Date:
- Tue Feb 07 21:58:20 2017 +0000
- Revision:
- 11:676ea42afd56
- Parent:
- 10:fedb5786a109
- Child:
- 13:7dcb1642ef99
Finished Core, and Servo classes.
Who changed what in which revision?
User | Revision | Line number | New 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 |
Bobymicjohn | 8:92f6baeea027 | 6 | #define LMC_LED_RED LED_RED |
Bobymicjohn | 8:92f6baeea027 | 7 | #define LMC_LED_GREEN LED_GREEN |
Bobymicjohn | 8:92f6baeea027 | 8 | #define LMC_LED_BLUE LED_BLUE |
Bobymicjohn | 8:92f6baeea027 | 9 | |
Bobymicjohn | 8:92f6baeea027 | 10 | |
Bobymicjohn | 8:92f6baeea027 | 11 | //Motor Class |
Bobymicjohn | 8:92f6baeea027 | 12 | #define MC_DIR_L PTA13 |
Bobymicjohn | 8:92f6baeea027 | 13 | #define MC_DIR_R PTC9 |
Bobymicjohn | 8:92f6baeea027 | 14 | #define MC_SPEED_L PTD0 |
Bobymicjohn | 8:92f6baeea027 | 15 | #define MC_SPEED_R PTD5 |
Bobymicjohn | 8:92f6baeea027 | 16 | |
Bobymicjohn | 8:92f6baeea027 | 17 | |
Bobymicjohn | 10:fedb5786a109 | 18 | //Servo |
Bobymicjohn | 11:676ea42afd56 | 19 | #define SC_SERVO PTB0 |
Bobymicjohn | 8:92f6baeea027 | 20 | |
Bobymicjohn | 8:92f6baeea027 | 21 | //Camera Class |
Bobymicjohn | 8:92f6baeea027 | 22 | |
Bobymicjohn | 8:92f6baeea027 | 23 | |
Bobymicjohn | 8:92f6baeea027 | 24 | |
Bobymicjohn | 8:92f6baeea027 | 25 | |
Bobymicjohn | 8:92f6baeea027 | 26 | #endif |