mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 05:27:09 +00:00
.
This commit is contained in:
32
README.md
32
README.md
@@ -152,8 +152,38 @@ Bare-bones ESP32 module can be programmed via UART interface (`GPIO03` and `GPIO
|
||||
|
||||
### ESP-IDF Framework
|
||||
|
||||
_Configuration menu custom variables
|
||||
_Configuration menu custom variables_
|
||||
|
||||
_Kconfig.projbuild_ file contains custom menu configuration for setting user-defined variables such as button GPIO, device description, etc._
|
||||
|
||||
``` text
|
||||
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
|
||||
```
|
||||
|
||||
## Temperature Node. The Key Elements and Components
|
||||
|
||||
|
Reference in New Issue
Block a user