mirror of
https://github.com/0015/ThatProject.git
synced 2026-01-12 09:17:42 +03:00
ESP32 | Cloud Firestore - Ep 0. Showing temp/humidity from DHT11 on TTGO display [Upgraded Version]
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef Display_H_
|
||||
#define Display_H_
|
||||
|
||||
#include <TFT_eSPI.h>
|
||||
|
||||
class Display {
|
||||
private:
|
||||
TFT_eSPI* tft;
|
||||
|
||||
public:
|
||||
Display();
|
||||
~Display();
|
||||
|
||||
void initTFT();
|
||||
void centerMsg(String text);
|
||||
void tempUpdates(String temp, String hum, String status);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user