Show HN: Arduino traffic light(table-driven design)(resorte.neocities.org) I started with a very simple Arduino project: two traffic lights controlling a junction (six LEDs). I refactored it by using arrays and small, modular functions, so it’s easier to read, modify, and extend. |