ESP32-PaxCounter/include/ledmatrixdisplay.h
2019-08-19 21:48:11 +02:00

18 lines
471 B
C

#ifndef _MATRIX_DISPLAY_H
#define _MATRIX_DISPLAY_H
#include "LEDMatrix.h"
#include "ledmatrixfonts.h"
extern uint8_t MatrixDisplayIsOn;
extern LEDMatrix matrix;
void init_matrix_display(bool reverse = false);
void refreshTheMatrixDisplay(bool nextPage = false);
void DrawNumber(String strNum, uint8_t iDotPos = 0);
uint8_t GetCharFromFont(char cChar);
uint8_t GetCharWidth(char cChar);
void ScrollLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows);
#endif