Clickledon, Clickledoff, Clickledflash – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 53
52
CHAPTER 5 • LED AND PUSH-BUTTON FUNCTIONS
Submenu 1 (Yellow) LEDs
Submenu 2 (Red) LEDs
Main Menu
Push-button
(Multicolored) LEDs
1 2
4
3
Figure 5.1 – Diagram of LEDs
The LEDs are also divided into three different groups: ALL, ALLYELLOW and ALLRED.
˽
ALL – All eight of the user controllable LEDs.
˽
ALLRED – All LEDs on the red bank.
˽
ALLYELLOW – All LEDs on the yellow bank.
The sections below describe the four different functions that affect the display state of the
LEDs.
ClickLedOn
The ClickLedOn function turns on the specified set of LEDs. The example below turns on
the YELLOW1 LED.
ClickLedOn(YELLOW1);
ClickLedOff
The ClickLedOff function turns off the specified set of LEDs. The example below turns off
the RED3 LED.
ClickLedOff(RED3);
ClickLedflash
The ClickLedflash function will cause the specified set of LEDs to flash. There are two avail-
able flashing speeds: FLASH_FAST and FLASH_SLOW. The example below will cause both
the red and yellow banks of LEDs to flash at a fast rate.
ClickLedflash(ALL, FLASH_FAST);