boolean OW_SetPort (integer $InstanceID, integer $Bitmaske)
InstanceID | ID of the device to be switched |
Bitmaske | 0-255 (Bit0 = Pin0 … Bit7 = Pin7) |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Sets the state of all eight pins on the value of Bitmask of the device with ID InstanceID
OW_SetPort(12345, 0); //Turn everything off