This commit is contained in:
2025-04-13 22:55:55 +02:00
commit 9abfb936a3
16 changed files with 527 additions and 0 deletions

25
esp32_readout/display.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef DISPLAY_DEF
#define DISPLAY_DEF
#include <Adafruit_GFX.h>
#include <Adafruit_SharpMem.h>
#include <string>
#include "env.h"
class Display {
private:
Adafruit_SharpMem* _display;
int mid_x;
int mid_y;
public:
Display();
void setup();
void print(const char* text);
void print_weight(double weight);
};
#endif