Re: timer system - any thoughts?
- From: "Paul E. Bennett" <peb@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 08 Oct 2005 09:40:22 +0100
Scott Kelley wrote:
> Thad,
>
> Thanks for the info. Can you elaborate on the schedule logic? That's
> where I am hoping to get a better handle on how to set this up.
Create an ordered list of the scheduled events and just compare the
earliest time for action with the current time. Perform the action when
current time => current time.
The most difficult thing about this is when you add new items to the list
you have to re-sort the list.
--
********************************************************************
Paul E. Bennett ....................<email://peb@xxxxxxxxxxxxxxxxxx>
Forth based HIDECS Consultancy .....<http://www.amleth.demon.co.uk/>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ....EBA. http://www.electric-boat-association.org.uk/
********************************************************************
.
- Follow-Ups:
- Re: timer system - any thoughts?
- From: Paul Carpenter
- Re: timer system - any thoughts?
- References:
- timer system - any thoughts?
- From: Scott Kelley
- Re: timer system - any thoughts?
- From: Thad Smith
- Re: timer system - any thoughts?
- From: Scott Kelley
- timer system - any thoughts?
- Prev by Date: BGA on 4-layers?
- Next by Date: Re: project proposal
- Previous by thread: Re: timer system - any thoughts?
- Next by thread: Re: timer system - any thoughts?
- Index(es):