|*||The annunciator is on for 1/10th second.|
|_||The annunciator is off for 1/10th second.|
State can be set directly, and since the change happens immediately, it is possible to flash the annunciator with very short periods and synchronize it with program events. It should be noted that there is a non-trivial overhead, so this may not be usable for benchmarking or measuring short intervals.
|0||Turn the annunciator off immediately.|
|1||Turn the annunciator on immediately.|
Flashing can be set with a given period. The pattern continues endlessly.
Three high-level commands are available:
|d%d||Numbers. Each digit is blinked out at 1/10th second, zero as ten pulses. Between digits a one second pause and after the last digit a two second pause after which the sequence is repeated.|
|s%s||String. This gives full control over the annunciator. Letters A ... J turn the annunciator on for from 1/10th to one full second. Letters a ... j turn the annunciator off for 1/10th to one full second. Letters u and U turn the annunciator off and on respectively when the next UTC second starts. Unless terminated with a ., the sequence is immediately repeated.|
The sequence is repeated after a one second pause.
A 'd12' flashes the lamp
A 'sAaAbBa' flashes
/usr/games/morse -l "Soekris rocks" > /dev/led/error
The led driver first appeared in
.Fx 5.2 .
.An -nosplit This software was written by
.An Poul-Henning Kamp <phk@FreeBSD.org>.