1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-06 02:40:56 +01:00

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 #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"

View File

@ -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