Genovation
28
MacroMasterKBxx
3: Advanced Topics
LED Programming
The LED state can be controlled from within a macro or from a special
application running on the Host PC.
Macro LED Control:
To insert an LED state code in a macro, click the LED1 key.
In the pop-up list are the three choices for controlling the LED from within a
macro.
If you are using more than one LED state in a given macro you should also insert
some delays so that the LED is visible. If you are using separate keys to turn the
LED on and off, then no delay is required.
Host LED Control:
Controlling the LED from the Host PC over USB will
require application software on the PC side to control
the LED state (on, off or flashing). Some C language
demonstration
programs
are
available
from
Genovation that show how to control the LED from a
PC. A sample application is included that allows