2019-09-02 11:41:24 +00:00
|
|
|
#ifndef MIDI2CV_DRIVERS_DISPLAY_H
|
|
|
|
#define MIDI2CV_DRIVERS_DISPLAY_H
|
|
|
|
|
2019-09-07 19:47:43 +00:00
|
|
|
#include <stm32f37x_conf.h>
|
2019-09-02 11:41:24 +00:00
|
|
|
#include "stmlib/stmlib.h"
|
2019-09-19 14:41:32 +00:00
|
|
|
#include <u8g2.h>
|
2019-09-02 11:41:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Display {
|
|
|
|
public:
|
|
|
|
Display() { }
|
|
|
|
~Display() {}
|
|
|
|
|
|
|
|
void Init();
|
2019-09-19 14:41:32 +00:00
|
|
|
u8g2_t* u8g2();
|
2019-09-02 11:41:24 +00:00
|
|
|
private:
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(Display);
|
2019-09-19 14:41:32 +00:00
|
|
|
void InitGLib();
|
2019-09-02 11:41:24 +00:00
|
|
|
};
|
2019-09-19 14:41:32 +00:00
|
|
|
extern Display display;
|
2019-09-02 11:41:24 +00:00
|
|
|
#endif
|