Plese use this class with my "i2cslave" class.

Dependents:   2016_mother_3 WRS2019_master WRS2020_mecanum_node WRS2021_mecanum_driver

Revision:
6:bc6d5a6e9fe1
Parent:
2:890301330892
Child:
7:446cf4690750
--- a/i2cmaster.h	Wed Apr 27 14:20:28 2016 +0000
+++ b/i2cmaster.h	Thu Jul 12 10:16:10 2018 +0000
@@ -3,13 +3,12 @@
 
 #include "mbed.h"
 
-class i2c : public I2C//,DigitalOut
+class i2c : public I2C
 {
     public:
     i2c(PinName p1,PinName p2);
-   
-    bool WriteSomeData(char addr,char reg, char data ,int size);
-    bool i2c::getSlaveRegistarData(char addr, char reg, char *data ,int size);
+    bool writeSomeData(char addr,char reg, int32_t data ,int size);
+    bool getSlaveRegistarData(char addr, char reg, int32_t *data ,int size);
 };
 
 #endif
\ No newline at end of file