Thanks pylon,
I understand it better now but still am not getting any good output.
Here's my code:
void getdata(byte *a){
Wire.beginTransmission(address);
Wire.write(0x0C);
Wire.endTransmission();
Wire.requestFrom(address, 1);
*a = Wire.read();
}
I still just get constant values:
C: 12
D: 13
E: 14
F: 63
Do I have to send read and write bits or maybe send the slave address again as it shows in figure 8?
What is the full code I need to obtain the channel 0 low, channel 0 high, channel 1 low, channel 1 high.
Thanks!