Time Delay Relay
hi
can please help, im after simple code create time delay relay function.
this i'm trying achieve.
if pin set high
the arduino count down pre determined amount of time,
if time expires react, (digitalwrite pin high)
eg. if (pina == high)
count down predetermined amount
if expires
digitalwrite ( pinb, high)
thanks in advance
can please help, im after simple code create time delay relay function.
this i'm trying achieve.
if pin set high
the arduino count down pre determined amount of time,
if time expires react, (digitalwrite pin high)
eg. if (pina == high)
count down predetermined amount
if expires
digitalwrite ( pinb, high)
thanks in advance
which part stuck on ?
if program doing nothing else reading input , controlling relay the maligned delay() function want. if program doing other things need use millis() timing.
more details required.
if program doing nothing else reading input , controlling relay the maligned delay() function want. if program doing other things need use millis() timing.
more details required.
Arduino Forum > Using Arduino > Programming Questions > Time Delay Relay
arduino
Comments
Post a Comment