21 lines
309 B
C
21 lines
309 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#include "esp_err.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#define STATUS_LED_GPIO 48
|
||
|
|
#define STATUS_LED_COUNT 1
|
||
|
|
|
||
|
|
esp_err_t status_led_init(void);
|
||
|
|
esp_err_t status_led_set_rgb(uint8_t r, uint8_t g, uint8_t b);
|
||
|
|
esp_err_t status_led_off(void);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|