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
|
|
|
|
2019-02-23 21:51:24 +01:00
|
|
|
extern uint8_t DisplayState;
|
2019-02-24 15:08:41 +01:00
|
|
|
extern timesource_t timeSource;
|
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);
|
2018-07-22 08:41:41 +02:00
|
|
|
void refreshtheDisplay(void);
|
2018-07-15 14:28:05 +02:00
|
|
|
void DisplayKey(const uint8_t *key, uint8_t len, bool lsb);
|
|
|
|
|
|
|
|
#endif
|