From 1ebec1ed3a3d6b9993f36762628a9fbb9448f4f7 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 24 Jul 2019 15:49:51 +0200 Subject: [PATCH] display version number --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index fc5e42b..a46dbcb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include "bitmaps/Bitmaps128x250.h" #include @@ -61,6 +62,10 @@ void helloWorld() display.fillScreen(GxEPD_WHITE); display.setCursor(x, y); display.print(HelloWorld); + + display.setCursor(5, display.height()-5); + display.setFont(&Org_01); + display.print(FW_VERSION); } while (display.nextPage()); //Serial.println("helloWorld done");