![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
55+
Dependencies: BEAR_Protocol_Edited BufferedSerial Debug MaxSonar PID Process QEI UI iSerial mbed
Fork of CleaningMachine_Betago by
pinconfig.h@1:45f1573d65a1, 2016-03-21 (annotated)
- Committer:
- palmdotax
- Date:
- Mon Mar 21 20:21:12 2016 +0000
- Revision:
- 1:45f1573d65a1
aaaaa
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
palmdotax | 1:45f1573d65a1 | 1 | #ifndef PIN_CONFIG_H |
palmdotax | 1:45f1573d65a1 | 2 | #define PIN_CONFIG_H |
palmdotax | 1:45f1573d65a1 | 3 | |
palmdotax | 1:45f1573d65a1 | 4 | //upper left |
palmdotax | 1:45f1573d65a1 | 5 | #define PWM_LU A1 |
palmdotax | 1:45f1573d65a1 | 6 | #define CS_LU A2 |
palmdotax | 1:45f1573d65a1 | 7 | #define A_LU PD_2 |
palmdotax | 1:45f1573d65a1 | 8 | #define B_LU A0 |
palmdotax | 1:45f1573d65a1 | 9 | |
palmdotax | 1:45f1573d65a1 | 10 | //lower left |
palmdotax | 1:45f1573d65a1 | 11 | #define PWM_LL PB_9 |
palmdotax | 1:45f1573d65a1 | 12 | #define CS_LL D11 |
palmdotax | 1:45f1573d65a1 | 13 | #define A_LL PB_8 |
palmdotax | 1:45f1573d65a1 | 14 | #define B_LL PC_9 |
palmdotax | 1:45f1573d65a1 | 15 | |
palmdotax | 1:45f1573d65a1 | 16 | //limit switch |
palmdotax | 1:45f1573d65a1 | 17 | #define Lim_LU1 PB_7 |
palmdotax | 1:45f1573d65a1 | 18 | #define Lim_LU2 PC_13 |
palmdotax | 1:45f1573d65a1 | 19 | #define Lim_LL1 PC_14 |
palmdotax | 1:45f1573d65a1 | 20 | #define Lim_LL2 PC_15 |
palmdotax | 1:45f1573d65a1 | 21 | #define Lim_RU1 D2 |
palmdotax | 1:45f1573d65a1 | 22 | #define Lim_RU2 D3 |
palmdotax | 1:45f1573d65a1 | 23 | #define Lim_RL1 D8 |
palmdotax | 1:45f1573d65a1 | 24 | #define Lim_RL2 D9 |
palmdotax | 1:45f1573d65a1 | 25 | |
palmdotax | 1:45f1573d65a1 | 26 | //encoder mode1 |
palmdotax | 1:45f1573d65a1 | 27 | #define Emosi PC_12 |
palmdotax | 1:45f1573d65a1 | 28 | #define Emiso PC_11 |
palmdotax | 1:45f1573d65a1 | 29 | #define Esck PC_10 |
palmdotax | 1:45f1573d65a1 | 30 | #define EncoderA PA_13 |
palmdotax | 1:45f1573d65a1 | 31 | #define EncoderB PA_14 |
palmdotax | 1:45f1573d65a1 | 32 | |
palmdotax | 1:45f1573d65a1 | 33 | //serial comm |
palmdotax | 1:45f1573d65a1 | 34 | #define Tx PA_11 |
palmdotax | 1:45f1573d65a1 | 35 | #define Rx PA_12 |
palmdotax | 1:45f1573d65a1 | 36 | #define Dir PB_5 |
palmdotax | 1:45f1573d65a1 | 37 | |
palmdotax | 1:45f1573d65a1 | 38 | #endif |
palmdotax | 1:45f1573d65a1 | 39 |