Contents

SetLED

Sets the state of an LED on the device.

Declaration

virtual void SetLED(uint32_t usage, bool on);

Parameters

  • usage:

    The LED to set. Specify a value from the LED usage tables in Leds Enum.

  • on:

    A Boolean value that indicates whether to turn the LED on or off. Specify true to turn the LED on.