Diagrama de control

Set pin 9 to LOW

Set pin 5 to LOW

Repeat 4 times

Set pin 9 to HIGH

Wait 2 seconds

Wait 1 second

Set pin 5 to HIGH

Set pin 5 to HIGH

Wait 5 seconds

Set pin 9 to HIGH

Wait 2 seconds