thank you both but Iam not sure I'm following what your saying. I'm still a newbee at this . In this little project it will start from a interupt and depending on how the switchs are set it will decide what to do then go back to sleep til next interupt.
But Please for give me and please expain in a little more detail for this simple mind of mine
thanks