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.
- Parameters
-
port | The sensor port. See Input port constants. |
value | The PIR deadband value. Valid values are between 0 and 47. |
- Returns
- The function call result.