summaryrefslogtreecommitdiff
path: root/trafficlight.c
AgeCommit message (Collapse)AuthorFilesLines
2022-08-23Added a Traffic struct and made the code more generic and easy toOmar Magdy1-2/+18
maintain
2022-08-23Added two timers and made them sync the 2 traffic lights as when oneOmar Magdy1-0/+29
traffic light is green the other is red and vice versa.