First Git Push

This commit is contained in:
2026-10-23 21:46:37 +02:00
commit c7b8c89c2d
12 changed files with 800 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef DISPLAYMANAGER_H
#define DISPLAYMANAGER_H
#include <Adafruit_c.h>
class DisplayManager {
public:
// Pass the pins to the constructor
DisplayManager(int8_t cs, int8_t dc, int8_t rst);
void begin();
void update(); // For future animations (blinking eyes, etc.)
// Your Emotes logic merged here
void drawCenteredText(const char* text, uint16_t color);
void setEmote(uint8_t emoteId);
void clear();
private:
Adafruit_ST7789 _tft;
// We store internal state here
uint8_t _currentEmote = 0;
};
#endif