diff --git a/AD774X_Init_V1_5/AD774X_I2C_V1_5.ino b/AD774X_Init_V1_5/AD774X_I2C_V1_5.ino index 4da2586..6d10d3e 100644 --- a/AD774X_Init_V1_5/AD774X_I2C_V1_5.ino +++ b/AD774X_Init_V1_5/AD774X_I2C_V1_5.ino @@ -49,6 +49,7 @@ uint8_t AD774X_Write_Single_Register(uint8_t RegAdres, uint8_t DataSingl) { Wire.write(RegAdres); Wire.write(DataSingl); I2C_State = Wire.endTransmission(); + return I2C_State; } //--------------------------------------------------------------------- // Writes to the registry a defined number of bytes that are stored in the RxBuff field