![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Buat agip
Dependencies: Motor_1 encoderKRAI mbed millis
Fork of Robo_Taker_Nasional_2018 by
pinList.h@12:9f56ff893897, 2018-05-26 (annotated)
- Committer:
- MarchioKevin
- Date:
- Sat May 26 08:19:01 2018 +0000
- Revision:
- 12:9f56ff893897
- Parent:
- 11:c682c965f781
Waini;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Fathoni17 | 0:22acd37ed695 | 1 | // Pin Motor |
Fathoni17 | 0:22acd37ed695 | 2 | // Motor A |
Fathoni17 | 0:22acd37ed695 | 3 | #define PIN_PWM_A PB_6 |
MarchioKevin | 11:c682c965f781 | 4 | #define PIN_FWD_A PA_10 |
MarchioKevin | 11:c682c965f781 | 5 | #define PIN_REV_A PB_13 |
Fathoni17 | 0:22acd37ed695 | 6 | // Motor B |
Fathoni17 | 0:22acd37ed695 | 7 | #define PIN_PWM_B PB_8 |
MarchioKevin | 11:c682c965f781 | 8 | #define PIN_FWD_B PA_9 |
MarchioKevin | 11:c682c965f781 | 9 | #define PIN_REV_B PA_5 |
Fathoni17 | 0:22acd37ed695 | 10 | // Motor C |
Fathoni17 | 0:22acd37ed695 | 11 | #define PIN_PWM_C PB_9 |
MarchioKevin | 11:c682c965f781 | 12 | #define PIN_FWD_C PA_11 |
MarchioKevin | 11:c682c965f781 | 13 | #define PIN_REV_C PA_12 |
Fathoni17 | 0:22acd37ed695 | 14 | |
Fathoni17 | 0:22acd37ed695 | 15 | // Pin UART |
Fathoni17 | 0:22acd37ed695 | 16 | // Arduino |
Fathoni17 | 0:22acd37ed695 | 17 | #define PIN_TX PA_0 |
Fathoni17 | 0:22acd37ed695 | 18 | #define PIN_RX PA_1 |
Fathoni17 | 0:22acd37ed695 | 19 | |
Fathoni17 | 0:22acd37ed695 | 20 | // Pin Encoder |
Fathoni17 | 0:22acd37ed695 | 21 | #define PIN_A_CHANNEL_A PC_0 |
Fathoni17 | 0:22acd37ed695 | 22 | #define PIN_A_CHANNEL_B PC_1 |
Fathoni17 | 0:22acd37ed695 | 23 | #define PIN_B_CHANNEL_A PC_6 |
Fathoni17 | 0:22acd37ed695 | 24 | #define PIN_B_CHANNEL_B PC_7 |
Fathoni17 | 0:22acd37ed695 | 25 | #define PIN_C_CHANNEL_A PC_5 |
Fathoni17 | 0:22acd37ed695 | 26 | #define PIN_C_CHANNEL_B PC_4 |
Fathoni17 | 0:22acd37ed695 | 27 | |
Fathoni17 | 0:22acd37ed695 | 28 | // Pin pneumatik |
Fathoni17 | 7:8d8eb4676356 | 29 | #define PIN_PNEUMATIK_1 PD_2 |
Fathoni17 | 7:8d8eb4676356 | 30 | #define PIN_PNEUMATIK_2 PA_14 |
Fathoni17 | 8:8072ee4f1740 | 31 | #define PIN_PNEUMATIK_3 PA_15 |
Fathoni17 | 8:8072ee4f1740 | 32 | #define PIN_PNEUMATIK_4 PC_14 |
Fathoni17 | 8:8072ee4f1740 | 33 | #define PIN_PNEUMATIK_5 PC_13 |