mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 17:56:25 -04:00
Update README.md
This commit is contained in:
parent
485b606112
commit
5f506ff0a3
@ -16,9 +16,11 @@ You can find Monospaced fonts [here](https://en.wikipedia.org/wiki/List_of_monos
|
|||||||
|
|
||||||
- Copy font file to fonts directory.
|
- Copy font file to fonts directory.
|
||||||
|
|
||||||
- Select font
|
- Select font.
|
||||||
load_font("/fonts/consola.ttf");
|
load_font("/fonts/consola.ttf");
|
||||||
|
|
||||||
- Specify the display position and threshold
|
- Specify the display position and threshold.
|
||||||
|
The lower the threshold, the thicker the text.
|
||||||
|
The larger the threshold, the thinner the text.
|
||||||
render_text(&dev, 0, 16, 128, "FreeType");
|
render_text(&dev, 0, 16, 128, "FreeType");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user