Add missing font: component to example. (#2614)

Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
fixes https://github.com/esphome/issues/issues/4065
This commit is contained in:
NP v/d Spek 2023-01-24 03:27:16 +01:00 committed by GitHub
parent 4171ba1fb4
commit 8a18636d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,15 @@ to an ESP module.
lambda: |-
it.print(0, 0, id(font), "Hello World!");
font:
- file: "gfonts://Roboto"
id: font
size: 20
.. note::
For more information about the font options see: :ref:`display-fonts`.
.. warning::
When using the TTGO T-Display module, the GPIO pin numbers above *cannot be changed* as they are