Shop OBEX P1 Docs P2 Docs Learn Events
How to make a basic (interruptable) timer? — Parallax Forums

How to make a basic (interruptable) timer?

ArchiverArchiver Posts: 46,084
edited 2002-10-29 03:36 in General Discussion
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.
Sign In or Register to comment.