Compare commits
No commits in common. "5cc7d1403acb6df01c84037311e19eabdd93c3cf" and "9874791aced3763033d6ced2b0390087dafd51d7" have entirely different histories.
5cc7d1403a
...
9874791ace
@ -11,6 +11,6 @@ PCF8574 &IOManager::getPcf()
|
||||
|
||||
void IOManager::setISROnIOChange(void (*isrFunc)(), Pin pin)
|
||||
{
|
||||
pinMode(pin, INPUT_PULLUP);
|
||||
pinMode(pin, INPUT);
|
||||
attachInterrupt(digitalPinToInterrupt(pin), isrFunc, FALLING);
|
||||
}
|
||||
|
@ -103,7 +103,6 @@ void loop()
|
||||
|
||||
sab.getScreenManager().displayView();
|
||||
|
||||
if(ioStateChange) Serial.println(F("ISR triggered"));
|
||||
ioStateChange = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user