mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 13:40:52 +00:00
menu config
This commit is contained in:
2
ESP32-Rainmaker-Switch/.vscode/settings.json
vendored
2
ESP32-Rainmaker-Switch/.vscode/settings.json
vendored
@@ -12,7 +12,7 @@
|
|||||||
"idf.openOcdConfigs": [
|
"idf.openOcdConfigs": [
|
||||||
"board/esp32c3-ftdi.cfg"
|
"board/esp32c3-ftdi.cfg"
|
||||||
],
|
],
|
||||||
"idf.portWin": "COM32",
|
"idf.portWin": "COM35",
|
||||||
"idf.pythonBinPathWin": "c:\\Users\\alex\\.espressif\\tools\\python_env\\idf5.2_py3.11_env\\Scripts\\python.exe",
|
"idf.pythonBinPathWin": "c:\\Users\\alex\\.espressif\\tools\\python_env\\idf5.2_py3.11_env\\Scripts\\python.exe",
|
||||||
"idf.toolsPathWin": "c:\\Users\\alex\\.espressif\\tools",
|
"idf.toolsPathWin": "c:\\Users\\alex\\.espressif\\tools",
|
||||||
"idf.gitPathWin": "c:\\Users\\alex\\.espressif\\tools\\tools\\idf-git\\2.39.2\\cmd\\git.exe",
|
"idf.gitPathWin": "c:\\Users\\alex\\.espressif\\tools\\tools\\idf-git\\2.39.2\\cmd\\git.exe",
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
menu "Example Configuration"
|
menu "Rainmaker ESP32C3 Smart Switch"
|
||||||
|
|
||||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||||
int "Boot Button GPIO"
|
int "Boot Button GPIO"
|
||||||
@@ -16,11 +16,18 @@ menu "Example Configuration"
|
|||||||
push button will trigger a parameter notification {"Switch":{"Power":true}} and turning off will
|
push button will trigger a parameter notification {"Switch":{"Power":true}} and turning off will
|
||||||
trigger an alert "Switch was turned off".
|
trigger an alert "Switch was turned off".
|
||||||
|
|
||||||
config EXAMPLE_OUTPUT_GPIO
|
config LED_RIGHT_GPIO
|
||||||
int "Output GPIO"
|
int "Output GPIO"
|
||||||
default 19
|
default 12
|
||||||
help
|
help
|
||||||
This is an output GPIO that will be connected to a relay or other driver circuit in most cases.
|
This is an output GPIO that is connected to an on-board LED located on a right side to the USB-C port.
|
||||||
|
If the power changes, this GPIO output level will also change.
|
||||||
|
|
||||||
|
config LED_LEFT_GPIO
|
||||||
|
int "Output GPIO"
|
||||||
|
default 13
|
||||||
|
help
|
||||||
|
This is an output GPIO that is connected to an on-board LED located on a right side to the USB-C port.
|
||||||
If the power changes, this GPIO output level will also change.
|
If the power changes, this GPIO output level will also change.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
Reference in New Issue
Block a user