Affraid not Steve, tried this and still no luck.
It still keeps with the main routine of watching the switch input and steps the LED accordingly. There seems to be no 5 second time-out.
I need it so that if no Interrupt is detected within 5 seconds of the last switch input it goes to the next stage of the code, whatever that might be ! So when the 5 seconds has been reached for the purposes of this code, it might be worth representing this as HIGH RED. That way i know the code works. If an Interrupt is received during the 5 seconds, then the 5 second timer starts again, and so on.
Any other ideas?
Cheers,
Steve
Bookmarks