Show Posts
Pages: [1]
1  Using Arduino / Sensors / Re: I2C Pressure Sensor on: January 04, 2013, 10:20:11 pm
The way I read that datasheet is that to get the pressure byte back from the sensor, you need to send a READ request, which is a 1 after the address. You're sending 0.

Code:
   Wire.beginTransmission(addrs);
   Wire.write(0);        // move your register pointer back to 0
   Wire.endTransmission();
 
Change the second line to
Code:
   Wire.write(1);
and see what happens.
Found that in the Addressing section on page 3.
Hope this helps.
Pages: [1]