LED matrix display improvements
This commit is contained in:
1 parent
bac5bde28f
commit
23999c3e2b
8 files changed
+89
-20
No files matched your search
+1
-2
@@ -9,8 +9,7 @@ extern uint8_t DisplayIsOn;
|
||||
extern HAS_DISPLAY u8x8;
|
||||
|
||||
void init_display(const char *Productname, const char *Version);
|
||||
void refreshtheDisplay(void);
|
||||
void refreshtheDisplay(bool nextPage);
|
||||
void refreshTheDisplay(bool nextPage = false);
|
||||
void draw_page(time_t t, uint8_t page);
|
||||
void DisplayKey(const uint8_t *key, uint8_t len, bool lsb);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ extern uint8_t MatrixDisplayIsOn;
|
||||
extern LEDMatrix matrix;
|
||||
|
||||
void init_matrix_display(bool reverse = false);
|
||||
void refreshTheMatrixDisplay(void);
|
||||
void refreshTheMatrixDisplay(bool nextPage = false);
|
||||
void DrawNumber(String strNum, uint8_t iDotPos = 0);
|
||||
uint8_t GetCharFromFont(char cChar);
|
||||
uint8_t GetCharWidth(char cChar);
|
||||
|
||||
@@ -20,9 +20,12 @@ struct FONT_INFO {
|
||||
const uint8_t *Bitmap;
|
||||
};
|
||||
|
||||
// Font data for Microsoft Sans Serif 11pt
|
||||
// Font data for Arial Narrow 17pt
|
||||
extern const uint8_t arialNarrow_17ptBitmaps[];
|
||||
extern const FONT_INFO arialNarrow_17ptFontInfo;
|
||||
extern const FONT_CHAR_INFO arialNarrow_17ptDescriptors[];
|
||||
|
||||
// Font data for Gill Sans MT Condensed 18pt
|
||||
extern const uint8_t gillSansMTCondensed_18ptBitmaps[];
|
||||
extern const FONT_INFO gillSansMTCondensed_18ptFontInfo;
|
||||
extern const FONT_CHAR_INFO gillSansMTCondensed_18ptDescriptors[];
|
||||
|
||||
Reference in new issue
Block a user