v2

Dependencies:   BEAR_Protocol_Edited BufferedSerial Debug MaxSonar PID Process QEI UI iSerial mbed

Fork of clean_V1 by Betago

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pinconfig.h Source File

pinconfig.h

00001 #ifndef PIN_CONFIG_H
00002 #define PIN_CONFIG_H
00003 
00004 //upper left
00005 #define PWM_LU A1
00006 #define CS_LU A2
00007 #define A_LU PD_2
00008 #define B_LU A0
00009 
00010 //lower left
00011 #define PWM_LL PB_9
00012 #define CS_LL D11
00013 #define A_LL PB_8
00014 #define B_LL PC_9
00015 
00016 //limit switch
00017 #define Lim_LU1 PB_7
00018 #define Lim_LU2 PC_13
00019 #define Lim_LL1 PC_14
00020 #define Lim_LL2 PC_15
00021 #define Lim_RU1 D2
00022 #define Lim_RU2 D3
00023 #define Lim_RL1 D8
00024 #define Lim_RL2 D9
00025 
00026 //encoder mode1
00027 #define Emosi PC_12
00028 #define Emiso PC_11
00029 #define Esck PC_10
00030 #define EncoderA PA_13
00031 #define EncoderB PA_14
00032 
00033 //serial comm
00034 #define Tx PA_11
00035 #define Rx PA_12
00036 #define Dir PB_5
00037 
00038 #endif
00039