Added the RX gpio pin as input with internal pull up since the signal it is sensing is in open drain config
This commit is contained in:
parent
9874791ace
commit
1f849e2336
@ -11,6 +11,6 @@ PCF8574 &IOManager::getPcf()
|
||||
|
||||
void IOManager::setISROnIOChange(void (*isrFunc)(), Pin pin)
|
||||
{
|
||||
pinMode(pin, INPUT);
|
||||
pinMode(pin, INPUT_PULLUP);
|
||||
attachInterrupt(digitalPinToInterrupt(pin), isrFunc, FALLING);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user