mgbglasgow
Junior Member level 1
- Joined
- Jun 15, 2011
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,508
hi all,
i would like to control three relays, i have built the circuit, its more a how-to on software structure i need. One relay is to be off for 120 seconds, on for 3, other relay is to be off for 122 seconds, on for one, last relay is off for a week, then on for 120 seconds,
i would like to be able to alter these timings without upsetting my code, i'm looking at isr routine to trigger every second. I also need to update my lcd to show run time in seconds, so code cant sit and do nothing while it waits every second.
Reading two books at once and on here/ stackoverflow (overabundance of arrogance of some on that site...)
any assistance greatly welcomed,,, SB
i would like to control three relays, i have built the circuit, its more a how-to on software structure i need. One relay is to be off for 120 seconds, on for 3, other relay is to be off for 122 seconds, on for one, last relay is off for a week, then on for 120 seconds,
i would like to be able to alter these timings without upsetting my code, i'm looking at isr routine to trigger every second. I also need to update my lcd to show run time in seconds, so code cant sit and do nothing while it waits every second.
Reading two books at once and on here/ stackoverflow (overabundance of arrogance of some on that site...)
any assistance greatly welcomed,,, SB