read pin value on pin guard

pull/100/head
gabrielburnworth 2017-12-16 17:31:56 -08:00
parent 4f51b92d4b
commit db8d79f5b6
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include "PinGuardPin.h"
#include "ParameterList.h"
#include "PinControl.h"
PinGuardPin::PinGuardPin()
{
@ -41,5 +42,6 @@ void PinGuardPin::processTick()
if (timeOutCount >= timeOut)
{
digitalWrite(pinNr, !activeState);
PinControl::getInstance()->readValue(pinNr, 0);
}
}