Multiple timer problem
i have facility designing "dead man" timer 4 separate areas running 1 uno.
basically, timer runs 15 minutes, , if there no motion detected (a motion detector in area), output goes high. anytime motion detected, timer needs set zero.
i'm setting timers in manner:
the problem is, there 4 timers running in 4 areas, resetting uno result in areas resetting, prevent other areas working properly. in fact, uno might not ever reset, in point i'm worried what's going happen when timers overflow.
any way bring timers 0 without resetting board?
basically, timer runs 15 minutes, , if there no motion detected (a motion detector in area), output goes high. anytime motion detected, timer needs set zero.
i'm setting timers in manner:
code: [select]
timer1 = (millis()/1000);
timer2 = (millis()/1000);
timer3 = (millis()/1000);
timer4 = (millis()/1000);
the problem is, there 4 timers running in 4 areas, resetting uno result in areas resetting, prevent other areas working properly. in fact, uno might not ever reset, in point i'm worried what's going happen when timers overflow.
any way bring timers 0 without resetting board?
quote
in fact, uno might not ever reset, in point i'm worried what's going happen when timers overflow.
have @ blink without delay.
Arduino Forum > Using Arduino > Project Guidance > Multiple timer problem
arduino
Comments
Post a Comment