Buat agip
Dependencies: Motor_1 encoderKRAI mbed millis
Fork of Robo_Taker_Nasional_2018 by
Diff: pinList.h
- Revision:
- 0:22acd37ed695
- Child:
- 7:8d8eb4676356
diff -r 000000000000 -r 22acd37ed695 pinList.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pinList.h Sat Feb 24 07:57:51 2018 +0000 @@ -0,0 +1,29 @@ +// Pin Motor +// Motor A +#define PIN_PWM_A PB_6 +#define PIN_FWD_A PB_13 +#define PIN_REV_A PA_10 +// Motor B +#define PIN_PWM_B PB_8 +#define PIN_FWD_B PA_5 +#define PIN_REV_B PA_9 +// Motor C +#define PIN_PWM_C PB_9 +#define PIN_FWD_C PA_12 +#define PIN_REV_C PA_11 + +// Pin UART +// Arduino +#define PIN_TX PA_0 +#define PIN_RX PA_1 + +// Pin Encoder +#define PIN_A_CHANNEL_A PC_0 +#define PIN_A_CHANNEL_B PC_1 +#define PIN_B_CHANNEL_A PC_6 +#define PIN_B_CHANNEL_B PC_7 +#define PIN_C_CHANNEL_A PC_5 +#define PIN_C_CHANNEL_B PC_4 + +// Pin pneumatik +#define PIN_PNEUMATIK PA_14 \ No newline at end of file