ESP-Nodes/ESP32-Rainmaker-Switch/main/Kconfig.projbuild
Alexandre B b90676fd13 .
2024-07-16 21:11:16 -04:00

27 lines
1.0 KiB
Plaintext

menu "Example Configuration"
config EXAMPLE_BOARD_BUTTON_GPIO
int "Boot Button GPIO"
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6
default 0
help
GPIO number on which the "Boot" button is connected. This is generally used
by the application for custom operations like toggling states, resetting to defaults, etc.
config EXAMPLE_ENABLE_TEST_NOTIFICATIONS
bool "Test Notifications"
default n
help
Enable this option to test mobile push notifications. When enabled, turning on the switch using
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
int "Output GPIO"
default 19
help
This is an output GPIO that will be connected to a relay or other driver circuit in most cases.
If the power changes, this GPIO output level will also change.
endmenu