From 87332ee9b56fa72ca2c4138eede16556c948e649 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 26 Jan 2023 12:31:19 +0100 Subject: [PATCH] display orientation fixed --- sketch/production.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sketch/production.cpp b/sketch/production.cpp index 5a751b4..8c09808 100644 --- a/sketch/production.cpp +++ b/sketch/production.cpp @@ -144,7 +144,7 @@ void downLinkDataHandle(McpsIndication_t *mcpsIndication) Serial.print("+REV DATA:"); sensor_t downlinkSensors[NUM_OF_SENSORS]; - + if (mcpsIndication->BufferSize != sizeof(downlinkSensors)) { Serial.println("illegal number of octets in downlink message"); } else { @@ -184,6 +184,7 @@ void productionSetup() { digitalWrite(Vext,LOW); display.init(); display.setFont(ArialMT_Plain_16); + display.screenRotate(ANGLE_180_DEGREE); display.clear(); display.display();