mirror of
https://github.com/jdillenburg/esphome.git
synced 2026-01-08 22:40:39 -07:00
Fix for double # syntax error
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
##include "adxl345.h"
|
#include "adxl345.h"
|
||||||
#include "esphome/core/log.h"
|
#include "esphome/core/log.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
#
|
||||||
|
# ld1115h as a ESPHome package
|
||||||
|
#
|
||||||
|
# Parameters:
|
||||||
|
# uart_rx_pin - pin the receive line is connected to, e.g., GPIO1
|
||||||
|
# uart_tx_pin - pin the transmit line is connected to, e.g., GPIO3
|
||||||
|
#
|
||||||
|
# packages:
|
||||||
|
# ld1115h: !include { file: packages/ld1115h.yaml, vars: { uart_rx_pin: GPIO16, uart_tx_pin: GPIO17 }}
|
||||||
|
#
|
||||||
esphome:
|
esphome:
|
||||||
on_boot: #LD1115H Initial Setting
|
on_boot: #LD1115H Initial Setting
|
||||||
priority: -200
|
priority: -200
|
||||||
@@ -19,10 +29,6 @@ external_components:
|
|||||||
url: https://github.com/ssieb/custom_components #Thanks for @ssieb components.
|
url: https://github.com/ssieb/custom_components #Thanks for @ssieb components.
|
||||||
components: [ serial ]
|
components: [ serial ]
|
||||||
|
|
||||||
# Disable logging to UART
|
|
||||||
logger:
|
|
||||||
baud_rate: 0
|
|
||||||
|
|
||||||
uart:
|
uart:
|
||||||
id: LD1115H_UART_BUS
|
id: LD1115H_UART_BUS
|
||||||
rx_pin: ${uart_rx_pin}
|
rx_pin: ${uart_rx_pin}
|
||||||
|
|||||||
Reference in New Issue
Block a user