Liz and I make an automated LEGO traffic light with 3 LEDs, a Shift Register, a few 100ohm resistors, and a Raspberri Pi.
Code is done in Python on the RPi. The code is a hodge podge of tutorial codes I mashed together and modified myself. It first asks for what mode the Shift Register needs to run in (raw binary, 7-segment literal, or Traffic Light mode) then the traffic light can be manually changed or set to run for a number of cycles.
Post time: Jun-18-2017