diff --git a/ESP32-Rainmaker-Switch/.vscode/settings.json b/ESP32-Rainmaker-Switch/.vscode/settings.json index 9f47b7e8e..ab2b79de2 100644 --- a/ESP32-Rainmaker-Switch/.vscode/settings.json +++ b/ESP32-Rainmaker-Switch/.vscode/settings.json @@ -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", diff --git a/ESP32-Rainmaker-Switch/main/Kconfig.projbuild b/ESP32-Rainmaker-Switch/main/Kconfig.projbuild index bdf738c36..2b34decf5 100644 --- a/ESP32-Rainmaker-Switch/main/Kconfig.projbuild +++ b/ESP32-Rainmaker-Switch/main/Kconfig.projbuild @@ -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