Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ led_set_leds()

int led_set_leds ( float led0_brightness,
float led1_brightness,
float led2_brightness )

#include <applications/gesture_recognition/src/hw_modules/led/led.h>

Turn on LED channels 0..2 with specific brightness.

Parameters
led0_brightnessLED0 (red on RGB boards) brightness in range 0 - 1
led1_brightnessLED1 (green on RGB boards) brightness in range 0 - 1
led2_brightnessLED2 (blue on RGB boards) brightness in range 0 - 1
Returns
Operation status, 0 for success