diff options
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;
+};
|