Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
led.h File Reference
#include "../common.h"

Go to the source code of this file.

Functions

int led_init (void)
 Initialize LEDs.
 
int led_set_led0 (float brightness)
 Turn on LED channel 0 (red on RGB boards, LED0 on discrete boards)
 
int led_set_led1 (float brightness)
 Turn on LED channel 1 (green on RGB boards, LED1 on discrete boards)
 
int led_set_led2 (float brightness)
 Turn on LED channel 2 (blue on RGB boards, LED2 on discrete boards)
 
int led_set_leds (float led0_brightness, float led1_brightness, float led2_brightness)
 Turn on LED channels 0..2 with specific brightness.
 
int led_off (void)
 Turn off all LEDs.
 
int led_blink_led0 (float brightness, int32_t on_ms, int32_t off_ms)
 Blink LED channel 0 (red on RGB boards, LED0 on discrete boards)
 
int led_blink_led1 (float brightness, int32_t on_ms, int32_t off_ms)
 Blink LED channel 1 (green on RGB boards, LED1 on discrete boards)
 
int led_blink_led2 (float brightness, int32_t on_ms, int32_t off_ms)
 Blink LED channel 2 (blue on RGB boards, LED2 on discrete boards)
 
int led_blink_leds (float led0_brightness, float led1_brightness, float led2_brightness, int32_t on_ms, int32_t off_ms)
 Blink LED channels 0..2 with specific brightness.