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
-
| port | The sensor port. See Input port constants. |
| temp | Current temperature in 1/10ths of degrees Celcius. |
| press | Current barometric pressure in 1/1000 inches of mercury. |
- Returns
- The function call result.
- Examples:
- ex_ReadSensorHTBarometric.nxc.