Add the idle clock to the Nextion display.

This commit is contained in:
Jonathan Naylor
2016-06-01 11:55:24 +01:00
parent ed8ea92468
commit dad34ada69
6 changed files with 86 additions and 11 deletions

12
Conf.h
View File

@@ -126,12 +126,14 @@ public:
unsigned int getHD44780PWMPin() const;
unsigned int getHD44780PWMBright() const;
unsigned int getHD44780PWMDim() const;
bool getHD44780DisplayClock() const;
bool getHD44780UTC() const;
bool getHD44780DisplayClock() const;
bool getHD44780UTC() const;
// The Nextion section
std::string getNextionPort() const;
unsigned int getNextionBrightness() const;
bool getNextionDisplayClock() const;
bool getNextionUTC() const;
// The OLED section
unsigned char getOLEDType() const;
@@ -223,11 +225,13 @@ private:
unsigned int m_hd44780PWMPin;
unsigned int m_hd44780PWMBright;
unsigned int m_hd44780PWMDim;
bool m_hd44780DisplayClock;
bool m_hd44780UTC;
bool m_hd44780DisplayClock;
bool m_hd44780UTC;
std::string m_nextionPort;
unsigned int m_nextionBrightness;
bool m_nextionDisplayClock;
bool m_nextionUTC;
unsigned char m_oledType;
unsigned char m_oledBrightness;