Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
**V1.13.19 - Updates**
- Support inverting and mirroring InfoDisplays.

**V1.13.18 - Updates**
- Final changes for OAE

Expand Down
6 changes: 6 additions & 0 deletions Configuration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
#ifndef INFO_DISPLAY_I2C_SCL_PIN
#define INFO_DISPLAY_I2C_SCL_PIN 4
#endif
#ifndef INFO_DISPLAY_UPSIDE_DOWN
#define INFO_DISPLAY_UPSIDE_DOWN 0
#endif
#ifndef INFO_DISPLAY_MIRRORED
#define INFO_DISPLAY_MIRRORED 0
#endif
#endif

// Used RA wheel version. Unless you printed your OAT before March 2020, you're using
Expand Down
2 changes: 1 addition & 1 deletion Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// Also, numbers are interpreted as simple numbers. _ __ _
// So 1.8 is actually 1.08, meaning that 1.12 is a later version than 1.8. \_(..)_/

#define VERSION "V1.13.18"
#define VERSION "V1.13.19"
6 changes: 6 additions & 0 deletions src/InfoDisplayRender.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ class InfoDisplayRender
virtual void init()
{
_display->init();
#if (INFO_DISPLAY_UPSIDE_DOWN == 1)
_display->flipScreenVertically();
#endif
#if (INFO_DISPLAY_MIRRORED == 1)
_display->mirrorScreen();
#endif
_display->clear();
_display->displayOn();
};
Expand Down