summaryrefslogtreecommitdiff
path: root/trafficlight.c
AgeCommit message (Expand)AuthorFilesLines
2022-08-25Fixed a little bug where I write to bcd.C 2 times instead of bcd.DOmar Magdy1-14/+14
2022-08-25Fixed a bug where it would reset the timer of tf1 to 0 when I press theOmar Magdy1-1/+1
2022-08-25Fixed a bug of the pedestrain traffic timer where it would restart fromOmar Magdy1-43/+78
2022-08-24Added the functionality of timers And finished the projectOmar Magdy1-2/+34
2022-08-23Added Traffic_Handler function to apply DRY principleOmar Magdy1-47/+27
2022-08-23Added switch_handler() function which allows the pedestrian to make theOmar Magdy1-10/+112
2022-08-23Added a Traffic struct and made the code more generic and easy toOmar Magdy1-2/+18
2022-08-23Added two timers and made them sync the 2 traffic lights as when oneOmar Magdy1-0/+29