Hi!
I'm new to all this and I have a question about my TowerPro SG-5010 servo.
With this code I'm able to move a micro servo by rotating a pot.
But when i swap the micro servo for my TowerPro (a lot bigger) it won't work.
Is this a power related problem? What do i need to do to make use of my 5010?
Thank you very much!
#include <Servo.h>
Servo myservo;
int sensorPin = 0;
int sensorValue = 0;
void setup() {
myservo.attach(9);
}
void loop(){
sensorValue = analogRead(sensorPin);
int place = map(sensorValue, 0, 1023, 180, 0);
myservo.write(place);
}