add internal display in emg pro comment

This commit is contained in:
Siwat Sirichai 2024-01-01 02:49:00 +07:00
parent ff2074fd0a
commit 9a0f02fcd9
2 changed files with 6 additions and 0 deletions

View File

@ -183,6 +183,7 @@ ExpansionCard* ESPMegaPRO::getCard(uint8_t slot) {
/**
* @brief Enables, Instanitates, and Initializes the internal display.
*
* @note &Serial is used for the internal display on ESPMegaPRO R3.
* @note This function can only be called if the ESPMegaIoT module is enabled.
* @note This function must be called before using the internal display.
*

View File

@ -63,6 +63,11 @@ class ESPMegaPRO {
* @note This card is installed by default at slot 1 on the ESPMegaPRO R3 board.
*/
DigitalOutputCard outputs = DigitalOutputCard(PWM_BANK_ADDRESS);
/**
* @brief The Display Built-in to the ESPMegaPRO board.
* @typedef InternalDisplay
* @note SKU EMG-PRO-R3-XXX-(F)-(12/24)V does not have a built-in display.
*/
InternalDisplay *display;
ESPMegaIoT *iot;
private: