read pin value on pin guard
parent
4f51b92d4b
commit
db8d79f5b6
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
#include "PinGuardPin.h"
|
#include "PinGuardPin.h"
|
||||||
#include "ParameterList.h"
|
#include "ParameterList.h"
|
||||||
|
#include "PinControl.h"
|
||||||
|
|
||||||
PinGuardPin::PinGuardPin()
|
PinGuardPin::PinGuardPin()
|
||||||
{
|
{
|
||||||
|
@ -41,5 +42,6 @@ void PinGuardPin::processTick()
|
||||||
if (timeOutCount >= timeOut)
|
if (timeOutCount >= timeOut)
|
||||||
{
|
{
|
||||||
digitalWrite(pinNr, !activeState);
|
digitalWrite(pinNr, !activeState);
|
||||||
|
PinControl::getInstance()->readValue(pinNr, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue