Interrupts

AbdulW87:
the problem with your suggestion is that the servos move a pan and tilt mount and i require one reading per angle.

I don't understand ( a) what you mean about 1 reading per angle or ( b) how my code excludes anything you want.

My code was only intended as a very generalized suggestion.

...R