NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool SetSensorHTPIRDeadband ( const byte  port,
byte  value 

Set HiTechnic PIR deadband value.

Set the HiTechnic PIR deadband value. 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. The deadband value must be between 0 and 47. It defines the half width of the deadband. The sensor has a default deadband value of 12.

portThe sensor port. See Input port constants.
valueThe PIR deadband value. Valid values are between 0 and 47.
The function call result.