WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

Pressure

Supports pressure measurement in Pascals (Pa).
Example
Assuming your device is called 'myPressure' in Project Designer then:-
// Read the sensor and store values
myPressure.read();
 
// Get the last read value
PRESSURE_TYPE val = myPressure.getPa();
 
// Print it out
cout << "Pressure:" << val;

 

Project Designer supports the following devices

 

Valid XHTML 1.0 Transitional