Hi,
May I ask if there's any available program for ADT7420? A snippet will do. I am trying to read registers (using I2C), but it seems like I'm getting incorrect default value. Maybe there's something wrong with my code in reading registers? Can anyone help me about it? Thank you.
e.g Trying to read device ID
Wire.beginTransmission(0x48);
Wire.write(0x0B); // register to read the device ID
Wire.endTransmission();
Wire.requestFrom(0x48,1); //1 byte since Device ID is 1byte
x = Wire.read();
Serial.print(x,hex);
I am getting a value of 0x0D from the 0x0B register which is the device ID but it should be 0xCB;
-Grenna