Add esphal.h include to inkplate6 component (#2286)

This commit is contained in:
Oxan van Leeuwen 2021-09-13 16:55:01 +02:00 committed by GitHub
parent fe47ddc27a
commit 133a17d6eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include "esphome/core/component.h"
#include "esphome/core/esphal.h"
#include "esphome/components/i2c/i2c.h"
#include "esphome/components/display/display_buffer.h"

View file

@ -28,6 +28,8 @@ uart:
rx_pin: 16
baud_rate: 19200
i2c:
modbus:
uart_id: uart1
@ -149,3 +151,20 @@ sensor:
uart_id: uart2
co2:
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