ESP32-PaxCounter/include/ledmatrixdisplay.h

19 lines
543 B
C
Raw Normal View History

#ifndef _MATRIX_DISPLAY_H
#define _MATRIX_DISPLAY_H
#include "LEDMatrix.h"
#include "ledmatrixfonts.h"
2020-03-29 18:08:52 +02:00
#include "ledmatrixdisplay.h"
2019-05-27 23:29:26 +02:00
extern uint8_t MatrixDisplayIsOn;
extern LEDMatrix matrix;
extern hw_timer_t *matrixDisplayIRQ;
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);
void DrawNumber(String strNum, uint8_t iDotPos = 0);
uint8_t GetCharFromFont(char cChar);
uint8_t GetCharWidth(char cChar);
void ScrollMatrixLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows);
#endif