1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

add checkbox config

This commit is contained in:
andreas
2023-10-09 17:01:13 +02:00
parent 4a8ca6edf7
commit 4c2ec46aae
3 changed files with 56 additions and 14 deletions

View File

@@ -127,16 +127,19 @@ types:
- 2
- &serial1
type: frame
type: checkbox
label: 'Serial 1'
key: serial1
children:
- <<: *gpiopin
key: RX
target: "define:GWSERIAL_RX"
- <<: *gpiopin
key: TX
target: "define:GWSERIAL_TX"
values:
- type: frame
key: true
children:
- <<: *gpiopin
key: RX
target: "define:GWSERIAL_RX"
- <<: *gpiopin
key: TX
target: "define:GWSERIAL_TX"
resources:
default: &esp32default