ESP32-PaxCounter/include/display.h

16 lines
355 B
C
Raw Normal View History

2018-07-17 15:15:58 +02:00
#ifndef _DISPLAY_H
#define _DISPLAY_H
2018-07-15 14:28:05 +02:00
#include <U8x8lib.h>
2018-12-22 14:37:47 +01:00
#include "cyclic.h"
2018-07-15 14:28:05 +02:00
extern uint8_t DisplayIsOn;
2019-02-23 21:51:24 +01:00
2018-09-22 19:39:31 +02:00
extern HAS_DISPLAY u8x8;
2018-07-19 21:53:56 +02:00
2018-07-15 14:28:05 +02:00
void init_display(const char *Productname, const char *Version);
2019-05-31 13:20:11 +02:00
void refreshTheDisplay(bool nextPage = false);
void draw_page(time_t t, uint8_t page);
2018-07-15 14:28:05 +02:00
void DisplayKey(const uint8_t *key, uint8_t len, bool lsb);
#endif