An improved version of mbed's I2C class.

Dependents:   acd52832_Humidity_Temp_Example BB acnSensa_LIS aconnoCellularGnss ... more

Revision:
6:4d1b387c12c3
Parent:
4:db46d6bb60f0
--- a/aconno_i2c.h	Thu Jul 19 12:48:11 2018 +0200
+++ b/aconno_i2c.h	Thu Jul 19 15:07:28 2018 +0200
@@ -21,10 +21,11 @@
                 uint8_t responseLen, bool repeated = false);
         uint8_t sendCommand(char *command, uint8_t len);
         uint8_t readBus(char *dataBuffer, int len);
+		uint16_t changeRegBits(char regAddress, uint8_t regSize,
+			uint16_t newValue, uint16_t numOfBits, uint16_t offset);
     private:
         uint8_t i2cAddress;
         I2C *i2c;
 };
 
 #endif // ACONNO_I2C_H
-