« Back to Product

Documentation

OW_WriteBytes

 boolean OW_WriteBytes (int $InstanceID, string $Data) 

Parameters

InstanceID

ID of the device to be switched

Data

Sequence of bytes to be sent

Returns

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

Description

Sets a sequence of bytes (Data) from all pins of the device with the ID InstanceID.

Warning

Only pins defined as the output are described!

Example

OW_WriteBytes(12345, Chr(0).Chr(1)); //Send sequence
Any questions?