feat(display): add display class
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
#include <U8g2lib.h>
|
||||
|
||||
/*
|
||||
* A helper class to facilitate drawing on the SSD1306 OLED display using the U8g2 library.
|
||||
*/
|
||||
class Display {
|
||||
public:
|
||||
Display();
|
||||
|
||||
bool begin();
|
||||
private:
|
||||
U8G2_SSD1306_128X64_NONAME_F_HW_I2C oled;
|
||||
};
|
||||
Reference in New Issue
Block a user