init commit from esp-idf ble example
This commit is contained in:
19
main/include/led.h
Normal file
19
main/include/led.h
Normal 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
|
||||
Reference in New Issue
Block a user