Hello,
In Lesson 9 is the code wrong. The only thing thatpops off is "exit status 1 redefinition of 'void setup()'".
I dont know what i can do. Thank you for all help.
Post your code, in code tags.
#include <Servo.h>
Servo myservo;Â
int pos = 0;Â Â
void setup() {
 myservo.attach(9);Â
}
void loop() {
 for (pos = 0; pos <= 180; pos += 1) {
  myservo.write(pos);      Â
  delay(15);          Â
 }
 for (pos = 180; pos >= 0; pos -= 1) {
  myservo.write(pos);      Â
  delay(15);          Â
 }
}
Compiles fine for me with the default setup.
Thank you for Help. I reinstalled the IDE and it worked. should had done it earlier.