mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-09-19 22:06:00 -04:00
menu config
This commit is contained in:
parent
9d186cd89f
commit
ccd0505049
2
ESP32-Rainmaker-Switch/.vscode/settings.json
vendored
2
ESP32-Rainmaker-Switch/.vscode/settings.json
vendored
@ -12,7 +12,7 @@
|
||||
"idf.openOcdConfigs": [
|
||||
"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.toolsPathWin": "c:\\Users\\alex\\.espressif\\tools",
|
||||
"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
|
||||
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
|
||||
trigger an alert "Switch was turned off".
|
||||
|
||||
config EXAMPLE_OUTPUT_GPIO
|
||||
config LED_RIGHT_GPIO
|
||||
int "Output GPIO"
|
||||
default 19
|
||||
default 12
|
||||
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.
|
||||
|
||||
endmenu
|
||||
|
Loading…
Reference in New Issue
Block a user