refactor for integration of InternalDisplay
This commit is contained in:
parent
d0e4825c2d
commit
c224aba193
5 changed files with 33 additions and 43 deletions
|
@ -29,14 +29,18 @@ class ESPMegaPRO {
|
|||
bool installCard(uint8_t slot, ExpansionCard* card);
|
||||
bool updateTimeFromNTP();
|
||||
void enableIotModule();
|
||||
void enableInternalDisplay(HardwareSerial *serial);
|
||||
rtctime_t getTime();
|
||||
void setTime(int hours, int minutes, int seconds, int day, int month, int year);
|
||||
ExpansionCard* getCard(uint8_t slot);
|
||||
FRAM fram;
|
||||
DigitalInputCard inputs = DigitalInputCard(INPUT_BANK_A_ADDRESS, INPUT_BANK_B_ADDRESS);
|
||||
DigitalOutputCard outputs = DigitalOutputCard(PWM_BANK_ADDRESS);
|
||||
ESPMegaIoT iot = ESPMegaIoT();
|
||||
InternalDisplay *display;
|
||||
ESPMegaIoT *iot;
|
||||
private:
|
||||
bool iotEnabled = false;
|
||||
bool internalDisplayEnabled = false;
|
||||
ExpansionCard* cards[255];
|
||||
bool cardInstalled[255];
|
||||
uint8_t cardCount = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue