The PICs arrived, BUT! they are the tiny surface mount ones I'll order some more with legs I can seehi jjw,
I have just tried your arctan function as part of a Oshonsoft Basic program I have written for Camerart, it looks good, returns degree values within +/-0.5 degrees.
Thanks for that Function.
Eric
Camerart.