mirror of
https://github.com/0015/ThatProject.git
synced 2026-01-12 09:17:42 +03:00
Send an SMS from ESP32 (ft. Twilio)
This commit is contained in:
25
MESSAGE/Twilio/0_ESP32TTGO_FIRESTORE_SMS/Display.h
Normal file
25
MESSAGE/Twilio/0_ESP32TTGO_FIRESTORE_SMS/Display.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef Display_H_
|
||||
#define Display_H_
|
||||
|
||||
#include <TFT_eSPI.h>
|
||||
#include <TJpg_Decoder.h>
|
||||
#include "SPIFFS.h"
|
||||
|
||||
class Display {
|
||||
private:
|
||||
TFT_eSPI* tft;
|
||||
friend bool tft_output(int16_t x, int16_t y, uint16_t w, uint16_t h, uint16_t * bitmap);
|
||||
|
||||
public:
|
||||
Display();
|
||||
~Display();
|
||||
|
||||
void initTFT();
|
||||
void centerMsg(String text);
|
||||
void tempUpdates(String temp, String hum, String status);
|
||||
void showWiFiIcon(bool isOn);
|
||||
void showFirebaseIcon(bool isOn);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user