exposing led gpi into config
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
menu "Calendink LED Configuration"
|
||||
|
||||
config CALENDINK_LED_GPIO
|
||||
int "LED GPIO"
|
||||
default 21
|
||||
help
|
||||
GPIO pin for the LED.
|
||||
endmenu
|
||||
@@ -4,8 +4,7 @@
|
||||
// SDK Includes
|
||||
#include "led_strip.h"
|
||||
|
||||
// Could be a config but its the GPIO on my ESP32-S3-ETH
|
||||
#define LED_GPIO GPIO_NUM_21
|
||||
#define LED_GPIO CONFIG_CALENDINK_LED_GPIO
|
||||
|
||||
internal led_strip_handle_t led_strip;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
menu "CalendarInk Network Configuration"
|
||||
menu "Calendink Network Configuration"
|
||||
|
||||
config CALENDINK_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
|
||||
Reference in New Issue
Block a user