#ifndef _DISPLAY_H_ #define _DISPLAY_H_ #include "ESP32-HUB75-MatrixPanel-I2S-DMA.h" #include "pins.h" #define PANEL_RES_X 64 #define PANEL_RES_Y 32 #define PANEL_CHAIN 1 extern MatrixPanel_I2S_DMA *dma_display; extern uint8_t font[]; extern int arrow_up_icon[]; extern int arrow_down_icon[]; esp_err_t init_display(); void drawChar(uint8_t x, uint8_t y, unsigned char c, uint8_t r, uint8_t g, uint8_t b); void drawText(uint8_t x, uint8_t y, const char* text, unsigned int length, uint8_t r, uint8_t g, uint8_t b); #endif