SetStatusLedsΒΆ

Controls the status LEDs of a device.

Ticks

Each LED can show a sequence of 4 ticks, that is 4 different configurations that will be executed sequentially with a certain speed. This command allows you to specify these ticks in different ways.

  • A single tick is specified as an object with the items Green and Yellow. It specifies whether the green and yellow LED are turned on during this tick. When only one of them is given, it will automatically be repeated to fill all 4 ticks. This way you can turn on one or both of the LEDs permanently.

  • An array of tick objects is automatically resized to 4 elements. When you specify more than 4 ticks, the last ones are discarded. When you specify less than 4, they are repeated until there are exactly 4 ticks.