Flashing Crossing Lights
–Software
–
high 1 ‘turn on LED 1
low 2 ‘turn off LED 2
start:
  pause 500 ‘wait ½ second
  toggle 1 ‘switch LED 1
  toggle 2 ‘switch LED 2
goto start: ‘do it again