What are the parts of this code? What is this code used for?:
#include
AF_DCMotor Motor1(1);
AF_DCMotor Motor2(3);
void setup()
{
}
void loop()
{
Motor1.setSpeed(255);
Motor2.setSpeed(255);
Motor1.run(FORWARD);
Motor2.run(FORWARD);
delay(1000);
Motor1.run(BACKWARD);
Motor2.run(BACKWARD);
delay(1000);
Motor1.run(FORWARD);
Motor2.run(BACKWARD);
delay(1000);
Motor1.run(BACKWARD);
Motor2.run(FORWARD);
delay(1000);
Motor1.setSpeed(0);
Motor2.setSpeed(0);
Motor1.run(BRAKE);
Motor2.run(BRAKE);
delay(1000);
}