What can we improve?

Documentation

(Edit)

OW_WriteBytesMasked

 boolean OW_WriteBytesMasked (int $InstanceID, string $Data, int $Mask) 

Parameters

InstanceID

ID of the device to be switched

Data

Sequence of bytes to be sent

Mask

Bitmask of the bit to be set

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sets a sequence of bytes (Data) taking into account a bitmask Mask from all pins of the device with the ID InstanceID.

Only pins defined as the output are described!

Example

OW_WriteBytesMasked(12345, Chr(255), Chr(1)); //Set only Bit 0