Well I guess this must be a tough one as no one commented or maybe I didn't explain clearly my issue.
I have been doing lots of browsing and searching and I figured what I might need is to use a timer with interup but I am confused. If I have 6 switches on (portb) 6 Leds on (portc) each switch trigering its respective led and then again a respective led on porta will be triggered 10 seconds later.
Sinse there is a chance that a user press switch1, switch2, switch3 and switch4 and even possibly all 6 of them (all within 10 seconds)
If I could have 6 timers and 6 interupt routines I would manage easily but how can I control my 6 events with just one timer?
If anyone can help me out, I don't bite!
Thanks
Mike
Bookmarks