keiichi shimazu / Mbed 2 deprecated NITKK2019_WinterB-Manual_madebyshimazu

Dependencies:   mbed mdc_read

Revision:
1:39ada37dfdbe
Parent:
0:9d5b8d0fb901
Child:
2:43e1336c80e4
--- a/pinmap.h	Fri Dec 27 02:58:06 2019 +0000
+++ b/pinmap.h	Fri Dec 27 05:43:32 2019 +0000
@@ -1,8 +1,15 @@
 #ifndef PINMAP_H
 #define PINMAP_H
 #include"mbed.h"
+#include "SBDBT.h"
+#include "mdc.h"
 
 sbdbt sb(PA_0,PA_1,115200);
 Serial pc(USBTX,USBRX,115200);
+I2C i2c(D5,D7);
 
+motor mt1(i2c,0x22);
+motor mt2(i2c,0x24);
+motor mt3(i2c,0x28);
+motor mt4(i2c,0x30);
 #endif
\ No newline at end of file