Robot's source code

Dependencies:   mbed

defines.h

Committer:
Jagang
Date:
2015-04-09
Revision:
60:546d7b43333b
Parent:
40:83ce8d1072ef
Child:
71:95d76c181b22

File content as of revision 60:546d7b43333b:


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