Well i carried on with some work before checking back to this forum and i have a much more effective code now although i shall try some of the comments you made last Ace

Ive gone back to using a FOR loop but i have put in a maths calculation so that the servo was nt moving the whole way to the next destination but a 4th of the way before checking the data again. So now i have a fairly responsive system for one servo which seems to keep track pritty well with no more hang ups!

The next thing I intend to address is the speed of the panning of the servo. I intend to have the servo move more quickly when there is a larger change in the accelerometer the faster the servo moves.

If anyone would like to see the code just ask but beware its quite messy atm