Loading...
Searching...
No Matches
furi_hal_light.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdbool.h>
9#include <stdint.h>
10#include <furi_hal_resources.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
18void furi_hal_light_init(void);
19
25void furi_hal_light_set(Light light, uint8_t value);
26
34void furi_hal_light_blink_start(Light light, uint8_t brightness, uint16_t on_time, uint16_t period);
35
39
44void furi_hal_light_blink_set_color(Light light);
45
50void furi_hal_light_sequence(const char* sequence);
51
52#ifdef __cplusplus
53}
54#endif
void furi_hal_light_init(void)
Init light driver.
Definition furi_hal_light.c:12
void furi_hal_light_blink_set_color(Light light)
Set color in hardware LED blinking mode.
Definition furi_hal_light.c:77
void furi_hal_light_set(Light light, uint8_t value)
Set light value.
Definition furi_hal_light.c:33
void furi_hal_light_blink_stop(void)
Stop hardware LED blinking mode.
Definition furi_hal_light.c:67
void furi_hal_light_blink_start(Light light, uint8_t brightness, uint16_t on_time, uint16_t period)
Start hardware LED blinking mode.
Definition furi_hal_light.c:52
void furi_hal_light_sequence(const char *sequence)
Execute sequence.
Definition furi_hal_light.c:91