Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pin_def.h@11:8faa068940f1, 2015-12-05 (annotated)
- Committer:
- jasonliujc
- Date:
- Sat Dec 05 02:07:16 2015 +0000
- Revision:
- 11:8faa068940f1
- Parent:
- 1:45f1f67eab62
parameters to be adjusted!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ahmedallibhoy | 0:5b681ac34259 | 1 | #ifndef PIN_DEF_H |
ahmedallibhoy | 0:5b681ac34259 | 2 | #define PIN_DEF_H |
ahmedallibhoy | 0:5b681ac34259 | 3 | |
ahmedallibhoy | 0:5b681ac34259 | 4 | #include "mbed.h" |
ahmedallibhoy | 0:5b681ac34259 | 5 | #include "QEI.h" |
ahmedallibhoy | 0:5b681ac34259 | 6 | |
ahmedallibhoy | 1:45f1f67eab62 | 7 | #define RIGHT_FORWARD PB_5 |
ahmedallibhoy | 1:45f1f67eab62 | 8 | #define RIGHT_REVERSE PB_10 |
ahmedallibhoy | 1:45f1f67eab62 | 9 | #define LEFT_FORWARD PB_8 |
ahmedallibhoy | 1:45f1f67eab62 | 10 | #define LEFT_REVERSE PA_6 |
ahmedallibhoy | 1:45f1f67eab62 | 11 | |
ahmedallibhoy | 1:45f1f67eab62 | 12 | #define LEFT_ENCODER_A PA_1 |
ahmedallibhoy | 1:45f1f67eab62 | 13 | #define LEFT_ENCODER_B PA_0 |
ahmedallibhoy | 1:45f1f67eab62 | 14 | #define RIGHT_ENCODER_A PA_10 |
ahmedallibhoy | 1:45f1f67eab62 | 15 | #define RIGHT_ENCODER_B PB_3 |
ahmedallibhoy | 0:5b681ac34259 | 16 | |
ahmedallibhoy | 1:45f1f67eab62 | 17 | #define GYROSCOPE A2 |
ahmedallibhoy | 1:45f1f67eab62 | 18 | |
ahmedallibhoy | 1:45f1f67eab62 | 19 | #define EM_LEFT_FORWARD PC_11 |
ahmedallibhoy | 1:45f1f67eab62 | 20 | #define EM_LEFT_ANGLE PC_3 |
ahmedallibhoy | 1:45f1f67eab62 | 21 | #define EM_RIGHT_FORWARD PC_10 |
ahmedallibhoy | 1:45f1f67eab62 | 22 | #define EM_RIGHT_ANGLE PC_12 |
ahmedallibhoy | 1:45f1f67eab62 | 23 | |
ahmedallibhoy | 1:45f1f67eab62 | 24 | #define RE_LEFT_FORWARD A5 |
ahmedallibhoy | 1:45f1f67eab62 | 25 | #define RE_LEFT_ANGLE A4 |
ahmedallibhoy | 1:45f1f67eab62 | 26 | #define RE_RIGHT_FORWARD PA_5 |
ahmedallibhoy | 1:45f1f67eab62 | 27 | #define RE_RIGHT_ANGLE A3 |
ahmedallibhoy | 0:5b681ac34259 | 28 | |
ahmedallibhoy | 0:5b681ac34259 | 29 | #endif // PIN_DEF_H |