Robot's source code
Dependencies: mbed
defines.h@40:83ce8d1072ef, 2015-03-17 (annotated)
- Committer:
- Jagang
- Date:
- Tue Mar 17 14:38:54 2015 +0000
- Revision:
- 40:83ce8d1072ef
- Parent:
- 39:09c04fd42c94
- Child:
- 60:546d7b43333b
Debug moteur
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 | 39:09c04fd42c94 | 20 |