Nextion display is queried to know it's layout so the new binary can function with 'old' and 'new' layouts.

It is done in a way to acommodate future layout changes (the display sends it's 'layout version')
This commit is contained in:
ON7LDS
2017-10-22 14:03:02 +02:00
parent 8c9afa6862
commit ea5be21ed6
10 changed files with 82 additions and 44 deletions

View File

@@ -86,8 +86,11 @@ private:
unsigned int m_rssiCount2;
unsigned int m_berCount1;
unsigned int m_berCount2;
unsigned char m_screenLayout;
void sendCommand(const char* command);
void checkScreenLayout();
};
#endif