How to make a basic (interruptable) timer?
Archiver
Posts: 46,084
I have a process where I fill a container with water. I'll be
putting a simple continuity tester in it to stop the filling when
its full. I'd also like to put a timer on it as a backup, if for
some reason the fill detection fails, I'd like it to time out and
stop filling. The timer doesn't have to be accurate, at most it'll
have a timeout of one minute - more like 30 seconds for most tasks.
I'd also like the time value to be settable.
Any tips or web pages you folks can toss my way? I could use a RTC
but, that seems like way overkill.
putting a simple continuity tester in it to stop the filling when
its full. I'd also like to put a timer on it as a backup, if for
some reason the fill detection fails, I'd like it to time out and
stop filling. The timer doesn't have to be accurate, at most it'll
have a timeout of one minute - more like 30 seconds for most tasks.
I'd also like the time value to be settable.
Any tips or web pages you folks can toss my way? I could use a RTC
but, that seems like way overkill.