Help, about multiple sketches

Hello,

i'm new and I'd like to build an example project with my arduino uno

I have got a breadboard, wires, servos, resistors, switches, LED's

Do i need something else?

i just want to create a sketch witch does:

1.starts the loop with a switch
2.Turns an orange/yellow LED on
3. moves 3 separat servos to position 0°
4.turns tge orange/yellow LED off
5.green LED should blink/flash (on/off in repeat)
6.moves servo 1 to 180°
7.delay with 100ms
8.mives servo 2 to 180°
9. delay with 100ms
10 moves servo 3 to 180°
11. green LED should be on until i restart this at 1.

I'd like to use an other switch to make a brake and if this switch is unturned it shoul be continue. (Interrupt?)

I've tried the LED sketch which lets three LEDs flash one after the other in a loop.

And I've tried separat the servo loop sketch with 2 servos.

Please can somebody build an example sketch for me which does this all?

Kindly regards

Dennis

start with the examples included in the Arduino IDE under FILE -> EXAMPLES

Sounds like you've got everything you need (assuming you have an Arduino and just didn't list it :wink: ).

I agree - I'd start with the examples, and maybe also take a look at blink-without-delay, because the less you use delay the happier you will be.

You amy also be interested in the demo Several Things at a Time and/or Planning and Implementing a Program both of which flash leds and move a servo.

...R