mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-15 11:05:49 +00:00
26 lines
433 B
C++
26 lines
433 B
C++
#ifndef MIDI2CV_DRIVERS_DISPLAY_H
|
|
#define MIDI2CV_DRIVERS_DISPLAY_H
|
|
|
|
#include "stmlib/stmlib.h"
|
|
#include <stm32f37x_conf.h>
|
|
#include <U8g2lib.h>
|
|
|
|
#define DISPLAY_WIDTH 128
|
|
#define DISPLAY_HEIGHT 64
|
|
|
|
class Display {
|
|
public:
|
|
Display() {}
|
|
~Display() {}
|
|
|
|
void Init();
|
|
U8G2* u8g2();
|
|
void Flush();
|
|
void Swap();
|
|
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN(Display);
|
|
void InitGLib();
|
|
};
|
|
extern Display display;
|
|
#endif
|