Kode Taker 2018

Dependencies:   mbed PS_PAD encoderKRAI Motor_1 millis

pinList.h

Committer:
gatulz
Date:
2018-07-03
Revision:
0:8c6f29487664

File content as of revision 0:8c6f29487664:

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