nanana_1011
Member level 2
- Joined
- Nov 9, 2014
- Messages
- 50
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,636
Hello!
I want to retrieve the value of C_Config.
My code:
Wire.begin();
Wire.beginTransmission(0x50);
Wire.write(0xA0); // Enter the command mode
Wire.endTransmission();
Wire.requestFrom(0x06, 3); // Retrieve the value of C_Config
byte a = Wire.read();
byte b = Wire.read();
byte c = Wire.read();
But what I get is 255, not the default value.
What is the problem?
https://datasheet.octopart.com/ZSSC3123AA2-T-ZMDI-datasheet-10989346.pdf
I want to retrieve the value of C_Config.
My code:
Wire.begin();
Wire.beginTransmission(0x50);
Wire.write(0xA0); // Enter the command mode
Wire.endTransmission();
Wire.requestFrom(0x06, 3); // Retrieve the value of C_Config
byte a = Wire.read();
byte b = Wire.read();
byte c = Wire.read();
But what I get is 255, not the default value.
What is the problem?
https://datasheet.octopart.com/ZSSC3123AA2-T-ZMDI-datasheet-10989346.pdf