mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-06-24 00:31:03 +02:00
fix missing gpio reset for modbus
This commit is contained in:
@@ -10,7 +10,12 @@ esphome:
|
||||
project:
|
||||
name: boneio.32x10-cover-mix-switches_v0_5-v0_6
|
||||
version: '0.6'
|
||||
|
||||
on_boot:
|
||||
- priority: 1001
|
||||
then:
|
||||
- lambda: |-
|
||||
gpio_reset_pin((gpio_num_t)3);
|
||||
gpio_reset_pin((gpio_num_t)1);
|
||||
esp32:
|
||||
board: nodemcu-32s
|
||||
framework:
|
||||
@@ -749,7 +754,11 @@ binary_sensor:
|
||||
# UNCOMMENT BELOW TO USE MODBUS
|
||||
# uart:
|
||||
# id: uart_pin3_1
|
||||
# rx_pin: GPIO3
|
||||
# rx_pin:
|
||||
# number: GPIO3
|
||||
# mode:
|
||||
# input: true
|
||||
# pullup: true
|
||||
# tx_pin: GPIO1
|
||||
# baud_rate: 9600
|
||||
# stop_bits: 1
|
||||
|
||||
Reference in New Issue
Block a user