I need help with timing loops
Archiver
Posts: 46,084
Hi:
I'm new to stamps. I'm using some infrared sensors connected to my
stamp to control a bank of led lights. I need to keep track of time
between sensors being tripped while the program is still performing
logic to control the lights. Can anyone help me with this? Thank
you.
-Jeff
I'm new to stamps. I'm using some infrared sensors connected to my
stamp to control a bank of led lights. I need to keep track of time
between sensors being tripped while the program is still performing
logic to control the lights. Can anyone help me with this? Thank
you.
-Jeff
Comments
Maybe state mashine approach would do , depending on what you are
trying to accomplish.
--- In basicstamps@yahoogroups.com, "jeffaary" <jeffaary@a...> wrote:
> Hi:
>
> I'm new to stamps. I'm using some infrared sensors connected to my
> stamp to control a bank of led lights. I need to keep track of
time
Real time triggers or just relative values you could convert to real
time later? Either case, what are min max values expected?
> between sensors being tripped
Are you also looking for indication of sequence of triggers,
Is this an ongoing process or just one series of events?
while the program is still performing
> logic to control the lights.
What logic? On and off?
Can anyone help me with this? Thank
> you.
>
> -Jeff