Skip to content

Commit aaf061d

Browse files
V1.13.19 - Updates (#276)
1 parent 833bd88 commit aaf061d

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**V1.13.19 - Updates**
2+
- Support inverting and mirroring InfoDisplays.
3+
14
**V1.13.18 - Updates**
25
- Final changes for OAE
36

Configuration.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
#ifndef INFO_DISPLAY_I2C_SCL_PIN
7474
#define INFO_DISPLAY_I2C_SCL_PIN 4
7575
#endif
76+
#ifndef INFO_DISPLAY_UPSIDE_DOWN
77+
#define INFO_DISPLAY_UPSIDE_DOWN 0
78+
#endif
79+
#ifndef INFO_DISPLAY_MIRRORED
80+
#define INFO_DISPLAY_MIRRORED 0
81+
#endif
7682
#endif
7783

7884
// Used RA wheel version. Unless you printed your OAT before March 2020, you're using

Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
// Also, numbers are interpreted as simple numbers. _ __ _
44
// So 1.8 is actually 1.08, meaning that 1.12 is a later version than 1.8. \_(..)_/
55

6-
#define VERSION "V1.13.18"
6+
#define VERSION "V1.13.19"

src/InfoDisplayRender.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ class InfoDisplayRender
3131
virtual void init()
3232
{
3333
_display->init();
34+
#if (INFO_DISPLAY_UPSIDE_DOWN == 1)
35+
_display->flipScreenVertically();
36+
#endif
37+
#if (INFO_DISPLAY_MIRRORED == 1)
38+
_display->mirrorScreen();
39+
#endif
3440
_display->clear();
3541
_display->displayOn();
3642
};

0 commit comments

Comments
 (0)