From 9a0f02fcd91212c0e14fe1e67713c39aef54d853 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 1 Jan 2024 02:49:00 +0700 Subject: [PATCH] add internal display in emg pro comment --- ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.cpp | 1 + ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.hpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.cpp b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.cpp index 678bdcb..6af235e 100644 --- a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.cpp +++ b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.cpp @@ -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. * diff --git a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.hpp b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.hpp index 31e3348..5fba324 100644 --- a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.hpp +++ b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaPRO_OOP.hpp @@ -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: