mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Add esphal.h include to inkplate6 component (#2286)
This commit is contained in:
parent
fe47ddc27a
commit
133a17d6eb
2 changed files with 20 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue