I got a little problem with a servo. It's a common one, the GWS S03N.
I've connected it to the arduino as this:
-brown -> GND
-orange -> pin n°9
And then, no way to use it as a normal servo. I mean, when I write a value, it turns CW or CCW, always at the same speed, and stops only if I use servo.detach().
Someone knows how to use it with angles, as with any servo?
Here's the piece of code used for tests:
Servo myservo; // create servo object to control a servo
int pos = 0; // variable to store the servo position
myservo.attach(9); // attaches the servo on pin 9 to the servo object