NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorHTBarometric ( const byte  port,
int &  temp,
unsigned int &  press 
)
inline

Read HiTechnic Barometric sensor values.

Read values from the HiTechnic Barometric sensor. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
tempCurrent temperature in 1/10ths of degrees Celcius.
pressCurrent barometric pressure in 1/1000 inches of mercury.
Returns
The function call result.
Examples:
ex_ReadSensorHTBarometric.nxc.