mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 03:22:21 +00:00
.
This commit is contained in:
@@ -24,14 +24,14 @@ menu "Rainmaker ESP32C3 Switch"
|
||||
If the power changes, this GPIO output level will also change.
|
||||
|
||||
config SWITCH_LED_1
|
||||
int "SYS_LED_1"
|
||||
int "On-board LED-1"
|
||||
default 12
|
||||
help
|
||||
This is an output GPIO that is connected to an on-board LED located on the right side of the board
|
||||
If the power changes, this GPIO output level will also change.
|
||||
|
||||
config SWITCH_LED_2
|
||||
int "SYS_LED_2"
|
||||
int "On-board LED-2"
|
||||
default 13
|
||||
help
|
||||
This is an output GPIO that is connected to an on-board LED located on the right side of the board
|
||||
|
@@ -24,8 +24,8 @@
|
||||
/* This is the GPIO on which the power will be set */
|
||||
#define OUTPUT_GPIO CONFIG_EXAMPLE_OUTPUT_GPIO
|
||||
|
||||
#define SYS_LED_1 CONFIG_SYS_LED_1
|
||||
#define SYS_LED_2 CONFIG_SYS_LED_2
|
||||
#define SYS_LED_1 CONFIG_SWITCH_LED_1
|
||||
#define SYS_LED_2 CONFIG_SWITCH_LED_2
|
||||
|
||||
static bool g_power_state = DEFAULT_POWER;
|
||||
|
||||
|
Reference in New Issue
Block a user