Update ESPMegaPRO_OOP.hpp

This commit is contained in:
Siwat Sirichai 2024-01-01 02:44:01 +07:00
parent 789afc04dc
commit ff2074fd0a
1 changed files with 10 additions and 0 deletions

View File

@ -51,7 +51,17 @@ class ESPMegaPRO {
void setTime(int hours, int minutes, int seconds, int day, int month, int year); void setTime(int hours, int minutes, int seconds, int day, int month, int year);
ExpansionCard* getCard(uint8_t slot); ExpansionCard* getCard(uint8_t slot);
FRAM fram; FRAM fram;
/**
* @brief The Digital Input Card Built-in to the ESPMegaPRO board.
* @typedef DigitalInputCard
* @note This card is installed by default at slot 0 on the ESPMegaPRO R3 board.
*/
DigitalInputCard inputs = DigitalInputCard(INPUT_BANK_A_ADDRESS, INPUT_BANK_B_ADDRESS); DigitalInputCard inputs = DigitalInputCard(INPUT_BANK_A_ADDRESS, INPUT_BANK_B_ADDRESS);
/**
* @brief The Digital Output Card Built-in to the ESPMegaPRO board.
* @typedef DigitalOutputCard
* @note This card is installed by default at slot 1 on the ESPMegaPRO R3 board.
*/
DigitalOutputCard outputs = DigitalOutputCard(PWM_BANK_ADDRESS); DigitalOutputCard outputs = DigitalOutputCard(PWM_BANK_ADDRESS);
InternalDisplay *display; InternalDisplay *display;
ESPMegaIoT *iot; ESPMegaIoT *iot;