hii,
my servo goes glitching when power goes on it. i made a press butten to control its flow. when i push the pcb button wich is connected to 5v on arduino the flow will go trough my servo and its moves, if u think its ok.. u might wanna know that my arduino has no controlling a servo, but it moves anyway!! how is this possible orange is conntected to pin o/i 9 red to 5v and black to current. help me and ask what u need to know :3
and also my usb goes on and of on and of...... its beebing >.< then servo moves agian a little NO CODE FOR THE SERVO IN IT
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(100);
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
delay(100);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
delay(100);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
delay(100);
digitalWrite(5, LOW);
digitalWrite(6, HIGH);
delay(100);
digitalWrite(6, LOW);
}
nick