Buat agip

Dependencies:   Motor_1 encoderKRAI mbed millis

Fork of Robo_Taker_Nasional_2018 by KRAI 2018

pinList.h

Committer:
Fathoni17
Date:
2018-02-24
Revision:
0:22acd37ed695
Child:
7:8d8eb4676356

File content as of revision 0:22acd37ed695:

// 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