« Back to Product

Documentation

PJ_SetServo

 boolean PJ_SetServo (int $InstanceID, int $Channel, int $Value) 

Parameters

InstanceID

ID of the device to be switched

Channel

Servo channel 1..4

Value

Value from 0..255

Returns

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

Description

Sets a servo channel Channel on the controller with ID InstanceID to Value.

Example

PJ_SetServo(12345, 1, 255);
Any questions?