card not installed handling
This commit is contained in:
parent
268218f546
commit
a22c8ef55c
5 changed files with 44 additions and 4 deletions
|
@ -42,7 +42,7 @@ void handleExternalDigitalInput(uint8_t pin, uint8_t state)
|
|||
Serial.printf("Digital Input External %d: %d\n", pin, state);
|
||||
}
|
||||
|
||||
DigitalInputCard externalDigitalInputCard = DigitalInputCard(1, 0, 1, 1, 1, 0);
|
||||
DigitalInputCard externalDigitalInputCard = DigitalInputCard(0, 0, 1, 0, 1, 1);
|
||||
#endif
|
||||
|
||||
// Remote Variable
|
||||
|
@ -231,8 +231,8 @@ void setup()
|
|||
espmega.iot->registerCard(6);
|
||||
#endif
|
||||
#ifdef EXTERNAL_DIGITAL_INPUT_CARD_ENABLE
|
||||
// ESP_LOGI("Initializer", "Registering cards 7");
|
||||
// espmega.iot->registerCard(7);
|
||||
ESP_LOGI("Initializer", "Registering cards 7");
|
||||
espmega.iot->registerCard(7);
|
||||
#endif
|
||||
#endif
|
||||
ESP_LOGI("Initializer", "Registering Input change callback");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue