2017 hongo b team

Dependencies:   I2C_slave MotorDriver mbed

Revision:
1:d00affd925c2
Parent:
0:2c99fa8dad2a
--- a/main.cpp	Fri Sep 08 04:06:59 2017 +0000
+++ b/main.cpp	Fri Sep 08 08:44:32 2017 +0000
@@ -14,6 +14,7 @@
     slave = new I2CSlave(SDA, SCL);
     ApprI2CSlave test(alpha_a::sht_pwr, alpha_a::unsig, alpha_a::s2_addr, slave);
     while(1) {
-        pc.printf("%d",test.read());
+        int buff = test.read();
+        pc.printf("%d\r\n",buff);
     }
 }