diff options
| author | EnricoGuccii <partyka.003@proton.me> | 2025-12-22 23:30:13 +0100 |
|---|---|---|
| committer | EnricoGuccii <partyka.003@proton.me> | 2025-12-22 23:30:13 +0100 |
| commit | 967500ab8abefa6700941d589979176677ab0d72 (patch) | |
| tree | 44e818d80accb785b467017dc2642e2af67cdfb7 /lib/oled/oled.h | |
| parent | 86ba591615dde725833b2a024c79f9611326d8eb (diff) | |
yyy
Diffstat (limited to 'lib/oled/oled.h')
| -rw-r--r-- | lib/oled/oled.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/oled/oled.h b/lib/oled/oled.h index b6fe7fa..2d5ff14 100644 --- a/lib/oled/oled.h +++ b/lib/oled/oled.h @@ -1,18 +1,18 @@ -#pragma once -#include <Adafruit_SSD1306.h> -#include "settings.h" - - -class OLED { -public: - OLED(); - - void init(); - void showMessage(const String& msg,int size = 1 ,int x = 0, int y = 0); - void drawFullBitmap(const uint8_t* bitmap); - void showAnimation(const byte* frames, int frameCount, int frameWidth, int frameHeight, int frameDelay); - void clear(); - -private: - Adafruit_SSD1306 display; -}; +#pragma once
+#include <Adafruit_SSD1306.h>
+#include "settings.h"
+
+
+class OLED {
+public:
+ OLED();
+
+ void init();
+ void showMessage(const String& msg,int size = 1 ,int x = 0, int y = 0);
+ void drawFullBitmap(const uint8_t* bitmap);
+ void showAnimation(const byte* frames, int frameCount, int frameWidth, int frameHeight, int frameDelay);
+ void clear();
+
+private:
+ Adafruit_SSD1306 display;
+};
|