update config

This commit is contained in:
Tomasz Duda 2024-03-05 21:00:52 +01:00
parent ac967c5d2e
commit b13cc6a6bd
3 changed files with 5 additions and 70 deletions

View File

@ -1,65 +0,0 @@
---
nrf52:
board: adafruit_itsybitsy_nrf52840
framework:
variant: generic
esphome:
name: nrf52-test-zephyr
logger:
switch:
- platform: gpio
pin:
number: 15
inverted: true
mode:
output: true
id: gpio_15
interval:
- interval: 100ms
then:
- switch.toggle: gpio_15
binary_sensor:
- platform: gpio
pin:
number: 9
mode: INPUT_PULLUP
id: gpio_9
sensor:
- platform: pulse_width
pin: P0.10
id: gpio_10
update_interval: 3s
- platform: uptime
name: Uptime Sensor
update_interval: 5s
dfu:
reset_output: rest_gpio
output:
- platform: gpio
pin:
number: 14
inverted: true
mode:
output: true
id: rest_gpio
debug:
update_interval: 1s
text_sensor:
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"

View File

@ -1,8 +1,9 @@
--- ---
nrf52: nrf52:
# board: adafruit_itsybitsy_nrf52840 # board: adafruit_itsybitsy_nrf52840
# board: adafruit_feather_nrf52840 board: adafruit_feather_nrf52840
board: nrf52840dk_nrf52840 # board: nrf52840dk_nrf52840
# board: nrf5340dk_nrf5340_cpuapp
# bootloader: adafruit # bootloader: adafruit
# bootloader: mcuboot # bootloader: mcuboot
@ -23,9 +24,11 @@ switch:
mode: mode:
output: true output: true
id: gpio_15 id: gpio_15
restore_mode: RESTORE_DEFAULT_OFF
interval: interval:
- interval: 500ms - interval: 500ms
# - interval: 20s
then: then:
- switch.toggle: gpio_15 - switch.toggle: gpio_15

View File

@ -1,9 +1,6 @@
--- ---
nrf52: nrf52:
board: adafruit_itsybitsy_nrf52840 board: adafruit_itsybitsy_nrf52840
framework:
type: zephyr
variant: nrf-sdk
esphome: esphome:
name: nrf52-test-nrf-adafruit name: nrf52-test-nrf-adafruit