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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user