2018-07-17 15:15:58 +02:00
|
|
|
#ifndef _DISPLAY_H
|
|
|
|
#define _DISPLAY_H
|
2018-07-15 14:28:05 +02:00
|
|
|
|
2018-12-22 14:37:47 +01:00
|
|
|
#include "cyclic.h"
|
2019-09-29 16:46:48 +02:00
|
|
|
#include "qrcode.h"
|
2018-07-15 14:28:05 +02:00
|
|
|
|
2019-04-01 18:01:52 +02:00
|
|
|
extern uint8_t DisplayIsOn;
|
2019-02-23 21:51:24 +01:00
|
|
|
|
2019-05-31 13:20:11 +02:00
|
|
|
void refreshTheDisplay(bool nextPage = false);
|
2019-09-29 16:46:48 +02:00
|
|
|
void init_display(void);
|
2019-04-01 18:01:52 +02:00
|
|
|
void draw_page(time_t t, uint8_t page);
|
2019-09-27 12:47:00 +02:00
|
|
|
void dp_printf(int x, int y, int font, int inv, const char *format, ...);
|
2019-09-29 16:46:48 +02:00
|
|
|
void dp_printqr(int offset_x, int offset_y, const char *Message);
|
|
|
|
void oledfillRect(int x, int y, int width, int height, int bRender);
|
2018-07-15 14:28:05 +02:00
|
|
|
|
|
|
|
#endif
|