Back to top

Traffic lights

This is the script shown in full in the tutorial on simulating traffic lights with your Raspberry Pi using a few LEDs, resistors and a breadboard. It’s a great starter tutorial and this script is commented throughout to show you exactly what’s going on.


This content is available for immediate download to owners of the magazine.

  • Download type: Tutorial Files
  • Sub title: Raspberry Pi
  • Subject: Computing
  • Format: .rtf
  • Software: Raspberry Pi
  • Approx time to complete: 1h
  • Difficulty Level: Advanced
  • Tags:

Future is an award-winning international media group and leading digital business. We reach more than 57 million international consumers a month and create world-class content and advertising solutions for passionate consumers online, on tablet and smartphone, and in print.

Found a problem? Report it.