start:
low 1 turn
off LED 1
low 2 turn
off LED 2
if pin3 = 1 then start: if switch off go to top
flash:
high 1 LED 1 on
low 2 LED 2 off
for b0= 1 to 10 do
this 10 times
pause 500 wait ½ second
toggle 1:toggle
2 switch lights
next b0 do
next of 5 loops
goto start: start
from very top