Přeskočit obsah

Class DisplayManager

ClassList > DisplayManager

Správce displeje.

  • #include <DisplayManager.hpp>

Public Attributes

Type Name
GxEPD_Class * display
Veřejná objekt pro řízení displeje typu GxEPD.

Public Functions

Type Name
DisplayManager ()
Konstruktor správce displeje.
void init ()
Vyčistí displej.
void prepareDisplay (const GFXfont * f=&FreeSans9pt8b, uint16_t fillScreenColor=GxEPD_BG, uint16_t textColor=GxEPD_TEXT)
void showError (std::string errorMsg)
Zobrazí zprávy chyby.
void test ()
Test displeje - vykreslení zkušebního textu.
void wifiConnectInfo (std::string ssid, std::string password)
Zobrazí informace o připojení k WiFi.

Public Attributes Documentation

variable display

Veřejná objekt pro řízení displeje typu GxEPD.

GxEPD_Class* DisplayManager::display;

Pozor je to ukazatel

Public Functions Documentation

function DisplayManager

DisplayManager::DisplayManager () 

function init

void DisplayManager::init () 

function prepareDisplay

void DisplayManager::prepareDisplay (
    const GFXfont * f=&FreeSans9pt8b,
    uint16_t fillScreenColor=GxEPD_BG,
    uint16_t textColor=GxEPD_TEXT
) 

function showError

Zobrazí zprávy chyby.

void DisplayManager::showError (
    std::string errorMsg
) 

Parameters:

  • errorMsg std::string Zpráva chyby

function test

void DisplayManager::test () 

function wifiConnectInfo

Zobrazí informace o připojení k WiFi.

void DisplayManager::wifiConnectInfo (
    std::string ssid,
    std::string password
) 

Parameters:

  • ssid std::string SSID
  • password std::string Heslo

The documentation for this class was generated from the following file sw/e-paper-board/src/DisplayManager.hpp