#pragma once #include #include #include #include "shared.hpp" #include "config.hpp" #include "fonts/fonts.hpp" #include #include #include #include "qrcodegen.h" void setupDisplays(); void taskEpd(void *pvParameters); void splitText(const uint dispNum, const String& top, const String& bottom, bool partial); void splitTextPaged(const uint dispNum, String top, String bottom, bool partial); void showDigit(const uint dispNum, char chr, bool partial, const GFXfont *font); void showDigitPaged(const uint dispNum, char chr, bool partial, const GFXfont *font); extern "C" void updateDisplay(void *pvParameters) noexcept; void updateDisplayAlt(int epdIndex); int getBgColor(); int getFgColor(); void setBgColor(int color); void setFgColor(int color); void renderText(const uint dispNum, const String& text, bool partial); void renderQr(const uint dispNum, const String& text, bool partial); void setEpdContent(std::array newEpdContent); std::array getCurrentEpdContent();