summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)AuthorFilesLines
2022-08-23Added a Traffic struct and made the code more generic and easy toOmar Magdy1-24/+54
maintain
2022-08-23Added two timers and made them sync the 2 traffic lights as when oneOmar Magdy1-48/+43
traffic light is green the other is red and vice versa.
2022-08-22Added initial code + Made the led stay green for 5 seconds then yellow for 2 ↵Omar Magdy1-24/+45
seconds then red
2022-08-21Added intital projectOmar Magdy1-0/+46