Documentation
PJ_DimServo
boolean PJ_DimServo (int $InstanceID, int $Channel, int $Value, int $Steps)
Parameters
InstanceID | ID of the device to be switched |
Channel | Servo channel 1..4 |
Value | Value from 0..255 |
Steps | Steps from 0 (instant) through 1 (slow) to 255 (fast) |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets a servo channel Channel on the controller with the ID InstanceID to the value Value in the speed Steps.
Example
// Immediately sets servo channel 1 to the value 255
PJ_DimServo(12345, 1, 255, 0);