Robot's source code

Dependencies:   mbed

defines.h

Committer:
Jagang
Date:
2015-04-10
Revision:
71:95d76c181b22
Parent:
60:546d7b43333b
Child:
78:7c7cefbe1772

File content as of revision 71:95d76c181b22:


//#define OUT_USB

#ifdef OUT_USB
    #define OUT_TX USBTX
    #define OUT_RX USBRX
#else
    #define OUT_TX PA_11
    #define OUT_RX PA_12
#endif

#define PWM_MOT1 PB_13
#define PWM_MOT2 PB_14
#define PWM_MOT3 PB_15

#define DIR_MOT1 PC_9
#define DIR_MOT2 PB_8
#define DIR_MOT3 PB_9

#define LED1 PC_8
#define LED2 PC_6
#define LED3 PC_5

#define ODO_G_B PA_10
#define ODO_G_A PB_3

#define ODO_D_B PB_5
#define ODO_D_A PB_4

#define PI 3.14159