Add Support for OLED Rotate

This commit is contained in:
Michael Eckhoff
2018-10-30 09:30:41 -05:00
parent 66a37d7d25
commit f3c8f73ad9
6 changed files with 22 additions and 3 deletions

3
OLED.h
View File

@@ -40,7 +40,7 @@
class COLED : public CDisplay
{
public:
COLED(unsigned char displayType, unsigned char displayBrighness, bool displayInvert, bool displayScroll, bool slot1Enabled, bool slot2Enabled);
COLED(unsigned char displayType, unsigned char displayBrighness, bool displayInvert, bool displayScroll, bool displayRotate, bool slot1Enabled, bool slot2Enabled);
virtual ~COLED();
virtual bool open();
@@ -83,6 +83,7 @@ private:
unsigned char m_displayBrightness;
bool m_displayInvert;
bool m_displayScroll;
bool m_displayRotate;
bool m_slot1Enabled;
bool m_slot2Enabled;
std::string m_ipaddress;