How to write servo direction correctly

Hi warboyzzzz,

Its doing exactly what you programmed it to do 8) As billroy says, you have to move the code out of the 'loop' function. Loop repeats forever...

Pat.