I am using servo control from examples/Servo/sweep. I have to insert at the begining #include <math.h> to get it to compile.
Is this right?
Also I can not get it to work on my servos Futaba S148 and S3003, It glitges but does not turn.
Also is a loop in in a .pde sketch contuousely go round and arround because mine does not.
math.h
The samples may be a bit outdated and compiler options may have changed.
Second problem sounds like a power problem. Servo's must have their own power (rule of thumb) with the GND connected to Arduino GND.
Give it a try.
Rob