ledb (LED bit flash pattern)
The ledb command can be used to assign a flash bit pattern to an individual LED.
Syntax: (see Command structure)
ledb port row ptn [control]
port: is the port number, starting at 1
row: is the LED row number, starting at 1. Typically these are arranged as follows:
Row | LED Function |
---|---|
1 | Charged |
2 | Charging |
3 | Sync mode |
ptn: can be specified as decimal (range 0..255), hexadecimal (range 00h to ffh) or binary (range 00000000b to 11111111b). Hexadecimal number must end with 'h'. Binary numbers must end with 'b'. More significant digits can be omitted for all radices. For example, '0b' is the same as '00000000b'. Hexadecimal numbers are not case-sensitive. The valid pattern characters can be seen in the LED control
Control
using the [H | R] optional parameters
Parameter | Description |
---|---|
H | takes over control of the LED without a remote command |
R | releases control of the LED back to normal operation. |
Example
To flash the charging LED on port 8 at 50/50 duty cycle, use:
ledb 8 2 11110000b >>
To turn on the port 1 charged LED continuously (i.e. no flashing):
ledb 1 1 ffh >>
To turn off the port 1 sync LED:
ledb 1 3 0 >>
Notes
-
When no LEDs are present the commands is not found.
-
The LED state is not re-established when remote mode is exited and then re-entered.