Robot's source code
Dependencies: mbed
defines.h@60:546d7b43333b, 2015-04-09 (annotated)
- Committer:
- Jagang
- Date:
- Thu Apr 09 16:53:18 2015 +0000
- Revision:
- 60:546d7b43333b
- Parent:
- 40:83ce8d1072ef
- Child:
- 71:95d76c181b22
Nettoyage du main
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jagang | 39:09c04fd42c94 | 1 | |
Jagang | 40:83ce8d1072ef | 2 | //#define OUT_USB |
Jagang | 39:09c04fd42c94 | 3 | |
Jagang | 39:09c04fd42c94 | 4 | #ifdef OUT_USB |
Jagang | 39:09c04fd42c94 | 5 | #define OUT_TX USBTX |
Jagang | 39:09c04fd42c94 | 6 | #define OUT_RX USBRX |
Jagang | 39:09c04fd42c94 | 7 | #else |
Jagang | 39:09c04fd42c94 | 8 | #define OUT_TX PA_11 |
Jagang | 39:09c04fd42c94 | 9 | #define OUT_RX PA_12 |
Jagang | 39:09c04fd42c94 | 10 | #endif |
Jagang | 39:09c04fd42c94 | 11 | |
Jagang | 40:83ce8d1072ef | 12 | #define PWM_MOT1 PB_13 |
Jagang | 40:83ce8d1072ef | 13 | #define PWM_MOT2 PB_14 |
Jagang | 40:83ce8d1072ef | 14 | #define PWM_MOT3 PB_15 |
Jagang | 40:83ce8d1072ef | 15 | |
Jagang | 40:83ce8d1072ef | 16 | #define DIR_MOT1 PC_9 |
Jagang | 40:83ce8d1072ef | 17 | #define DIR_MOT2 PB_8 |
Jagang | 40:83ce8d1072ef | 18 | #define DIR_MOT3 PB_9 |
Jagang | 39:09c04fd42c94 | 19 | |
Jagang | 60:546d7b43333b | 20 | #define LED1 PC_8 |
Jagang | 60:546d7b43333b | 21 | #define LED2 PC_6 |
Jagang | 60:546d7b43333b | 22 | #define LED3 PC_5 |