![](/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@7:8d8eb4676356, 2018-03-23 (annotated)
- Committer:
- Fathoni17
- Date:
- Fri Mar 23 17:09:28 2018 +0000
- Revision:
- 7:8d8eb4676356
- Parent:
- 0:22acd37ed695
- Child:
- 8:8072ee4f1740
control 3 pneumatik; segitiga = buka semua; kotak = tutup semua; silang = buka 1/1; orientasi sama kaya thrower; deselerasi OFF
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 |
Fathoni17 | 0:22acd37ed695 | 4 | #define PIN_FWD_A PB_13 |
Fathoni17 | 0:22acd37ed695 | 5 | #define PIN_REV_A PA_10 |
Fathoni17 | 0:22acd37ed695 | 6 | // Motor B |
Fathoni17 | 0:22acd37ed695 | 7 | #define PIN_PWM_B PB_8 |
Fathoni17 | 0:22acd37ed695 | 8 | #define PIN_FWD_B PA_5 |
Fathoni17 | 0:22acd37ed695 | 9 | #define PIN_REV_B PA_9 |
Fathoni17 | 0:22acd37ed695 | 10 | // Motor C |
Fathoni17 | 0:22acd37ed695 | 11 | #define PIN_PWM_C PB_9 |
Fathoni17 | 0:22acd37ed695 | 12 | #define PIN_FWD_C PA_12 |
Fathoni17 | 0:22acd37ed695 | 13 | #define PIN_REV_C PA_11 |
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 | 7:8d8eb4676356 | 31 | #define PIN_PNEUMATIK_3 PA_15 |