Bucking Bullfrog (11 / 13 steg)
Steg 11:
Detta är programvaran för Arduino:
#include < Servo.h >
Servo rotera;
Servo hiss.
Ogiltiga inställningar)
{
rotate.attach(5);
Lift.attach(6);
rotate.write(100);
Lift.write(90);
Delay(2000);
}
void loop()
{
rotate.write(100);
Lift.write(80);
Delay(1000);
rotate.write(130);
Lift.write(90);
Delay(300);
Lift.write(110);
Delay(300);
rotate.write(130);
Delay(300);
rotate.write(130);
Delay(300);
rotate.write(120);
Lift.write(90);
Delay(300);
rotate.write(100);
Delay(300);
rotate.write(130);
Delay(300);
rotate.write(40);
Lift.write(90);
Delay(300);
rotate.write(90);
Lift.write(90);
Delay(300);
rotate.write(40);
Lift.write(110);
Delay(300);
rotate.write(100);
Lift.write(90);
Delay(300);
rotate.write(40);
Delay(300);
Lift.write(90);
Delay(300);
Lift.write(110);
Delay(200);
Lift.write(90);
Delay(300);
Lift.write(110);
Delay(300);
Lift.write(90);
Delay(200);
rotate.write(130);
Lift.write(90);
Delay(300);
Lift.write(110);
Delay(300);
rotate.write(130);
Delay(300);
rotate.write(130);
Delay(300);
rotate.write(120);
Lift.write(90);
Delay(300);
rotate.write(100);
Delay(300);
rotate.write(130);
Delay(300);
rotate.write(40);
Lift.write(90);
Delay(300);
rotate.write(80);
Lift.write(90);
Delay(300);
rotate.write(40);
Lift.write(110);
Delay(300);
rotate.write(100);
Lift.write(90);
Delay(300);
rotate.write(40);
Delay(300);
Lift.write(90);
Delay(300);
Lift.write(110);
Delay(200);
Lift.write(90);
Delay(300);
Lift.write(110);
Delay(300);
Lift.write(90);
Delay(200);
Lift.write(90);
Delay(300);
rotate.write(100);
Lift.write(90);
rotate.write(130);
Delay(300);
rotate.write(30);
Delay(300);
rotate.write(135);
Delay(300);
rotate.write(40);
Delay(300);
rotate.write(100);
Delay(300);
Lift.write(90);
Delay(200);
Lift.write(100);
Delay(1000);
Lift.write(80);
Delay(10000);
}