![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Kode Taker 2018
Dependencies: mbed PS_PAD encoderKRAI Motor_1 millis
Diff: pinList.h
- Revision:
- 0:8c6f29487664
diff -r 000000000000 -r 8c6f29487664 pinList.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pinList.h Tue Jul 03 05:45:18 2018 +0000 @@ -0,0 +1,38 @@ +// 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_1 PC_11 +#define PIN_PNEUMATIK_2 PA_15 +#define PIN_PNEUMATIK_3 PC_14 +#define PIN_PNEUMATIK_4 PH_0 +#define PIN_PNEUMATIK_5 PH_1 +#define PIN_PNEUMATIK_6 PA_4 +#define PIN_PNEUMATIK_7 PC_15 +#define PIN_PNEUMATIK_8 PC_13 +#define PIN_PNEUMATIK_9 PA_14 +#define PIN_PNEUMATIK_10 PC_10 \ No newline at end of file