mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-12 20:10:50 +01:00
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:
parent
4171ba1fb4
commit
8a18636d4b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user