int I2C_address = 0b1001000;
Wire.begin(); // join i2c bus (address optional for master)
Serial.begin(9600); // start serial for output
Wire.requestFrom(I2C_address, 1); // request 1 byte from address.
while(Wire.available()) // slave may send less than requested
char c = Wire.read(); // receive a byte as character
Serial.print(c); // print the character
I think this is getting there, I think I have to now specify which register I want to take data for, my temp sensor has 4 registers. At what point in this code do I say which Register I want to take data from?
Moderator edit: CODE TAGS