Add a multi channel example
Added a multi channel example with run limit, tilting and channel selection features. Refs #1104 and closes #1111.
This commit is contained in:
10
examples/relay_chn_multi/sdkconfig.defaults
Normal file
10
examples/relay_chn_multi/sdkconfig.defaults
Normal file
@@ -0,0 +1,10 @@
|
||||
# Halt on panic
|
||||
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
|
||||
|
||||
# Relay Channel Configs
|
||||
CONFIG_RELAY_CHN_ENABLE_RUN_LIMIT=y
|
||||
CONFIG_RELAY_CHN_COUNT=3
|
||||
# Keep this as short as possible for example purposes
|
||||
CONFIG_RELAY_CHN_RUN_LIMIT_MIN_SEC=5
|
||||
CONFIG_RELAY_CHN_RUN_LIMIT_DEFAULT_SEC=20
|
||||
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
||||
Reference in New Issue
Block a user