#pragma once #include #include /* * A helper class to facilitate drawing on the SSD1306 OLED display using the U8g2 library. */ class Display { public: Display(); bool begin(); void drawJoystick(double x, double y, bool pressed); private: U8G2_SSD1306_128X64_NONAME_F_HW_I2C oled; };