Updated font type

This commit is contained in:
Stefan Kremser
2018-03-28 09:37:06 +02:00
parent 5a1cc5bc13
commit 485bfd1085
2 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,11 @@ void DisplayUI::setupDisplay() {
// ===== adjustable ===== //
// initialize display
display.init();
/*
In case of a compiler (conversion char/uint8_t) error,
make sure to have version 4 of the display library installed
https://github.com/ThingPulse/esp8266-oled-ssd1306/releases/tag/4.0.0
*/
display.setFont(DejaVu_Sans_Mono_12);
display.setContrast(255);
display.flipScreenVertically();