Files

31 lines
724 B
YAML
Raw Permalink Normal View History

# Minimal bring-up test for the el512 component (no Wi-Fi).
esphome:
name: el512-smoke
esp32:
board: wemos_d1_mini32
framework:
type: esp-idf
logger:
external_components:
- source:
type: local
path: ../components
font:
- file: "gfonts://Roboto Mono"
id: mono
size: 20
display:
- platform: el512
id: panel
update_interval: 1s
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
it.line(0, 0, it.get_width() - 1, it.get_height() - 1);
it.print(10, 10, id(mono), "ESPHome on EL512.256-H");
it.printf(10, 40, id(mono), "uptime %lus", (unsigned long) (millis() / 1000));
it.filled_circle(it.get_width() / 2, it.get_height() / 2, 40);