mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
Add esphal.h include to inkplate6 component (#2286)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "esphome/core/component.h"
|
#include "esphome/core/component.h"
|
||||||
|
#include "esphome/core/esphal.h"
|
||||||
#include "esphome/components/i2c/i2c.h"
|
#include "esphome/components/i2c/i2c.h"
|
||||||
#include "esphome/components/display/display_buffer.h"
|
#include "esphome/components/display/display_buffer.h"
|
||||||
|
|
||||||
|
@@ -28,6 +28,8 @@ uart:
|
|||||||
rx_pin: 16
|
rx_pin: 16
|
||||||
baud_rate: 19200
|
baud_rate: 19200
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
|
||||||
|
|
||||||
modbus:
|
modbus:
|
||||||
uart_id: uart1
|
uart_id: uart1
|
||||||
@@ -149,3 +151,20 @@ sensor:
|
|||||||
uart_id: uart2
|
uart_id: uart2
|
||||||
co2:
|
co2:
|
||||||
name: CO2 Sensor
|
name: CO2 Sensor
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: inkplate6
|
||||||
|
id: inkplate_display
|
||||||
|
greyscale: false
|
||||||
|
partial_updating: false
|
||||||
|
update_interval: 60s
|
||||||
|
|
||||||
|
ckv_pin: GPIO1
|
||||||
|
sph_pin: GPIO1
|
||||||
|
gmod_pin: GPIO1
|
||||||
|
gpio0_enable_pin: GPIO1
|
||||||
|
oe_pin: GPIO1
|
||||||
|
spv_pin: GPIO1
|
||||||
|
powerup_pin: GPIO1
|
||||||
|
wakeup_pin: GPIO1
|
||||||
|
vcom_pin: GPIO1
|
||||||
|
Reference in New Issue
Block a user