add font to usage example (#1050)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Daniel 2021-05-11 00:07:58 +02:00 committed by GitHub
parent 63d36b4d7d
commit cd361ae115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,11 @@ configuration.
.. code-block:: yaml
# Example configuration entry
font:
- file: 'fonts/Comic Sans MS.ttf'
id: font1
size: 8
spi:
clk_pin: D0
mosi_pin: D1
@ -62,7 +67,7 @@ configuration.
model: 2.90in
full_update_every: 30
lambda: |-
it.print(0, 0, id(font), "Hello World!");
it.print(0, 0, id(font1), "Hello World!");
Configuration variables:
------------------------