mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 23:41:45 +01:00
e4df422798
* Pack glyph bits * Use unsigned chars for unicode strings. * Implement multi-bit glyphs * clang-format * Allow extra glyphs to be added to a font * Allow .otf and .woff file extensions * Add printf versions with background color; Add tests * Whitespace... * Move font test to new framework * CI fix * CI fix * CODEOWNERS * File extensions tested as case-insensitive
27 lines
467 B
YAML
27 lines
467 B
YAML
font:
|
|
- file: "gfonts://Roboto"
|
|
id: roboto
|
|
size: 20
|
|
glyphs: "0123456789."
|
|
extras:
|
|
- file: "gfonts://Roboto"
|
|
glyphs: ["\u00C4", "\u00C5", "\U000000C7"]
|
|
|
|
spi:
|
|
clk_pin: 14
|
|
mosi_pin: 13
|
|
|
|
display:
|
|
- id: my_display
|
|
platform: ili9xxx
|
|
dimensions: 480x320
|
|
model: ST7796
|
|
cs_pin: 15
|
|
dc_pin: 21
|
|
reset_pin: 22
|
|
transform:
|
|
swap_xy: true
|
|
mirror_x: true
|
|
mirror_y: true
|
|
auto_clear_enabled: false
|
|
|