init commit from esp-idf ble example

This commit is contained in:
2025-12-01 00:42:14 +01:00
parent cfcfb6fe37
commit 4116ef780e
17 changed files with 949 additions and 1 deletions

19
main/include/led.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef LED_H
#define LED_H
/* Includes */
/* ESP APIs */
#include "driver/gpio.h"
#include "led_strip.h"
#include "sdkconfig.h"
/* Defines */
#define BLINK_GPIO CONFIG_BLINK_GPIO
/* Public function declarations */
uint8_t get_led_state(void);
void led_on(void);
void led_off(void);
void led_init(void);
#endif // LED_H