Program exercise · Challenging · Ladder · 26 min · Pro

Traffic light on a board

Run the traffic light sequence on three real LEDs, with a real pedestrian button.

This exercise is part of Pro. Start the free trial to open it.

How it is checked.

  • Each LED follows its phase
  • The button request is latched
  • Greens never overlap

Builds on the lesson Latch and unlatch coils.

Part of Microcontroller boards. All practice exercises.