MBEDテスト

Dependencies:   Motor PID mbed

Defines.h

Committer:
kikoaac
Date:
2015-07-21
Revision:
2:1194c29429bf
Parent:
0:5af71b978fb7

File content as of revision 2:1194c29429bf:

#define Red_Pin dp9
#define Green_Pin dp16
#define Blue_Pin dp17
#define MOSI dp2
#define MISO dp1
#define SCK  dp6
#define SSEL dp25
#define SDA  dp5
#define SCL  dp27
#define Motor_H1 dp24
#define Motor_H2 dp4
#define Motor_L1 dp28
#define Motor_L2 dp26
#define Motor_PWM dp18
#define Rotal_A dp14
#define Rotal_B dp11
#define Rotal_Z dp15
#define I2C_addr_H dp25
#define I2C_addr_L dp6
#define MODE dp15


#define SPI_MODE 1
#define I2C_MODE 2