SetLED
Configures the on/off state for an LED on the device.
Declaration
virtual void SetLED(uint32_t usage, bool on);Parameters
- usage:
The usage value that matches the LED you want to set. For a list of possible values, see Leds Enum.
- on:
A Boolean value that indicates whether to turn the light on or off. Specify
trueto turn the light on orfalseto turn it off.