ESP32-PaxCounter/include/ledmatrixdisplay.h

25 lines
629 B
C
Raw Permalink Normal View History

#ifndef _MATRIX_DISPLAY_H
#define _MATRIX_DISPLAY_H
2022-02-22 13:11:46 +01:00
#ifdef HAS_MATRIX_DISPLAY
#include "LEDMatrix.h"
#include "ledmatrixfonts.h"
2020-03-29 18:08:52 +02:00
#include "ledmatrixdisplay.h"
2022-11-01 20:47:39 +01:00
#include "configmanager.h"
#include <libpax_api.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);
2022-02-22 13:11:46 +01:00
#endif
#endif