display orientation fixed
This commit is contained in:
@ -144,7 +144,7 @@ void downLinkDataHandle(McpsIndication_t *mcpsIndication)
|
|||||||
Serial.print("+REV DATA:");
|
Serial.print("+REV DATA:");
|
||||||
|
|
||||||
sensor_t downlinkSensors[NUM_OF_SENSORS];
|
sensor_t downlinkSensors[NUM_OF_SENSORS];
|
||||||
|
|
||||||
if (mcpsIndication->BufferSize != sizeof(downlinkSensors)) {
|
if (mcpsIndication->BufferSize != sizeof(downlinkSensors)) {
|
||||||
Serial.println("illegal number of octets in downlink message");
|
Serial.println("illegal number of octets in downlink message");
|
||||||
} else {
|
} else {
|
||||||
@ -184,6 +184,7 @@ void productionSetup() {
|
|||||||
digitalWrite(Vext,LOW);
|
digitalWrite(Vext,LOW);
|
||||||
display.init();
|
display.init();
|
||||||
display.setFont(ArialMT_Plain_16);
|
display.setFont(ArialMT_Plain_16);
|
||||||
|
display.screenRotate(ANGLE_180_DEGREE);
|
||||||
display.clear();
|
display.clear();
|
||||||
display.display();
|
display.display();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user