card not installed handling

This commit is contained in:
Siwat Sirichai 2024-11-03 22:32:36 +07:00
parent 268218f546
commit a22c8ef55c
5 changed files with 44 additions and 4 deletions

View file

@ -43,9 +43,12 @@ class DigitalInputCard : public ExpansionCard {
void loadPinMap(uint8_t pinMap[16]);
// Preload previousInputBuffer and inputBuffer
void preloadInputBuffer();
// Status of card
bool getStatus();
// Get type of card
uint8_t getType();
private:
bool initOk = false;
PCF8574 inputBankA;
PCF8574 inputBankB;
uint8_t address_a;