NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char SensorHTPIR ( const byte  port)
inline

Read HiTechnic PIR measurement value.

Read the HiTechnic PIR measurement value. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
Returns
The passive infrared reading. A signed byte (-128..127).