summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Expand)AuthorFilesLines
2022-08-25Fixed a bug of the pedestrain traffic timer where it would restart fromOmar Magdy1-11/+10
2022-08-24Added the functionality of timers And finished the projectOmar Magdy1-6/+12
2022-08-23Added Traffic_Handler function to apply DRY principleOmar Magdy1-0/+2
2022-08-23Removed prevPeriod from Traffic structOmar Magdy1-3/+3
2022-08-23Added switch_handler() function which allows the pedestrian to make theOmar Magdy1-81/+5
2022-08-23Removed color.h and color.cOmar Magdy1-3/+3
2022-08-23Added a Traffic struct and made the code more generic and easy toOmar Magdy1-24/+54
2022-08-23Added two timers and made them sync the 2 traffic lights as when oneOmar Magdy1-48/+43
2022-08-22Added initial code + Made the led stay green for 5 seconds then yellow for 2 ...Omar Magdy1-24/+45
2022-08-21Added intital projectOmar Magdy1-0/+46