Thank you AWOL.
your explanation is so much clearer than arduino reference here
http://arduino.cc/en/Reference/Volatile
![]()
this is a great forum. tried to solve my problem a whole sunday. An hour in the forum, and I learned more, than the whole day tyring to sort it myself ![]()