Hello everyone!
Im currently building a robot with a 360 or a continuous servo (what ever it's name)
and I was able to move it clock wise for 5 secnods and then stop it.
with this code:
#include <Servo.h>
Servo myservo;
void setup()
{
myservo.attach(12);
myservo.write(0);
}
void loop()
{
myservo.write(10);
delay(5000);
myservo.detach();
}
But I can't do the same counter clockwise. Only with a regular 180 degrees servo.
I have seen tons of videos and explanations but most of them included complicated codes that I don't really understand (I'm pretty new to this world).
if someone could help me turn the servo counter clockwise with a relatively simple code I will be grateful.
thanks!!