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

◆ led_blink_led1()

int led_blink_led1 ( float brightness,
int32_t on_ms,
int32_t off_ms )

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

Blink LED channel 1 (green on RGB boards, LED1 on discrete boards)

Note
This function uses sleep internally and should not be called from ISR context.
Parameters
brightnessLED brightness in range 0 - 1
on_msLED turns on time in milliseconds
off_msLED turns off time in milliseconds
Returns
Operation status, 0 for success