2019-05-05 23:43:18 +02:00
|
|
|
#ifndef _MATRIX_DISPLAY_H
|
|
|
|
#define _MATRIX_DISPLAY_H
|
|
|
|
|
|
|
|
#include "LEDMatrix.h"
|
|
|
|
#include "ledmatrixfonts.h"
|
|
|
|
|
2019-05-27 23:29:26 +02:00
|
|
|
extern uint8_t MatrixDisplayIsOn;
|
2019-05-09 22:12:32 +02:00
|
|
|
|
2019-05-05 23:43:18 +02:00
|
|
|
extern LEDMatrix matrix;
|
|
|
|
|
2019-05-30 13:00:24 +02:00
|
|
|
void init_matrix_display(bool reverse = false);
|
2019-05-31 13:20:11 +02:00
|
|
|
void refreshTheMatrixDisplay(bool nextPage = false);
|
2019-05-05 23:43:18 +02:00
|
|
|
void DrawNumber(String strNum, uint8_t iDotPos = 0);
|
|
|
|
uint8_t GetCharFromFont(char cChar);
|
|
|
|
uint8_t GetCharWidth(char cChar);
|
2019-08-19 21:48:11 +02:00
|
|
|
void ScrollLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows);
|
2019-05-05 23:43:18 +02:00
|
|
|
|
|
|
|
#endif
|