r/ArduinoProjects • • Aug 04 '23

Coding traffic lights from a simple LED blinking code

https://youtu.be/YIw4Mr8LwuQ

Traffic light are very simple to creat just adding more code to a simple LED blinking code with appropriate delay times and you got yourself a traffic light.

0 Upvotes

2 comments sorted by

3

u/texruska Aug 04 '23

The sequence in the UK is different, so a state machine might actually be a better implementation

1

u/kudarueben Aug 04 '23

Lol your actually right l kinda wrongly place the sequence it’s green amber then red … thanks for the correction