Kiko Ishimoto
/
Nucleo_spi
MBEDテスト
Diff: Defines.h
- Revision:
- 0:5af71b978fb7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Defines.h Fri Jun 19 06:36:41 2015 +0000 @@ -0,0 +1,24 @@ +#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 \ No newline at end of file