forked from airgradienthq/arduino
[temporary commit]
This commit is contained in:
1 parent
c1ab99ba8d
commit
027ffeaa92
214 files changed
+1150
-506042
No files matched your search
+18
-13
@@ -2,34 +2,39 @@
|
||||
#define _AG_OLED_DISPLAY_H_
|
||||
|
||||
#include "AgConfigure.h"
|
||||
#include "AgValue.h"
|
||||
#include "AirGradient.h"
|
||||
#include "Main/PrintLog.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
class AgOledDisplay: public PrintLog
|
||||
{
|
||||
class AgOledDisplay : public PrintLog {
|
||||
private:
|
||||
AgConfigure &config;
|
||||
AirGradient &ag;
|
||||
bool isBegin = false;
|
||||
void* u8g2 = NULL;
|
||||
void *u8g2 = NULL;
|
||||
AgValue &value;
|
||||
|
||||
void showTempHum(void);
|
||||
|
||||
public:
|
||||
AgOledDisplay(AirGradient& ag ,AgConfigure &config, Stream &log);
|
||||
AgOledDisplay(AirGradient &ag, AgConfigure &config, AgValue &value,
|
||||
Stream &log);
|
||||
~AgOledDisplay();
|
||||
|
||||
bool begin(void);
|
||||
void end(void);
|
||||
void setStatus(String& status);
|
||||
void setStatus(const char* status);
|
||||
void setStatus(String &status);
|
||||
void setStatus(const char *status);
|
||||
void setText(String &line1, String &line2, String &line3);
|
||||
void setText(const char* line1, const char* line2, const char* line3);
|
||||
void setText(const char* text);
|
||||
void setText(const char *line1, const char *line2, const char *line3);
|
||||
void setText(const char *text);
|
||||
void setText(String &text);
|
||||
void setText(String &line1, String& line2, String& line3, String& line4);
|
||||
void setText(const char* line1, const char* line2, const char* line3, const char* line4);
|
||||
void showDashBoard(void);
|
||||
void showDashBoard(String& status);
|
||||
void showDashboard(const char* status);
|
||||
void setText(String &line1, String &line2, String &line3, String &line4);
|
||||
void setText(const char *line1, const char *line2, const char *line3,
|
||||
const char *line4);
|
||||
void showDashboard(void);
|
||||
void showDashboard(const char *status);
|
||||
};
|
||||
|
||||
#endif /** _AG_OLED_DISPLAY_H_ */
|
||||
Reference in new issue
Block a user