I was using this guy's tutorial trying to make my servo turn, but after I upload my codes, this message pop up. What's going on???
Tutorial : How to Control Servos | Arduino Tutorial - YouTube
My code: #include <Servo.h>
Servo myservo;
void seup()
{
myservo.attach (9);
}
void loop()
{
myservo.writeMicroseconds (1500);
delay(1000);
myservo.writeMicroseconds(1000);
delay(1000);
myservo.writeMicroseconds(2000);
delay(1000);
}
The error message shown:
core.a(main.cpp.o): In function main': C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:40: undefined reference to setup'