summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-12-21Removed uncssary files from project like debug and binariesHEADmasteromagdy738-222613/+0
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
switch instead of displaying the time which it was paused at
2022-08-25Fixed a bug of the pedestrain traffic timer where it would restart fromOmar Magdy3-72/+109
5 to 1 again and Added comments for the whole project and added timers as a member of the Traffic struct to add more generlization of the
2022-08-24Added the functionality of timers And finished the projectOmar Magdy3-8/+58
2022-08-23Added Traffic_Handler function to apply DRY principleOmar Magdy3-47/+30
2022-08-23Removed prevPeriod from Traffic structOmar Magdy2-4/+3
2022-08-23Added switch_handler() function which allows the pedestrian to make theOmar Magdy4-92/+128
other traffic lights red and his green and at the same time when his light turns red the other continue where they left off + Moved all code to trafficlight.c and made the main less clutered
2022-08-23Removed color.h and color.cOmar Magdy2-76/+0
2022-08-23Removed color.h and color.cOmar Magdy2-4/+7
2022-08-23Added a Traffic struct and made the code more generic and easy toOmar Magdy5-35/+90
maintain
2022-08-23Added Debug and settings to .gitignoreOmar Magdy1-2/+2
2022-08-23Added two timers and made them sync the 2 traffic lights as when oneOmar Magdy5-83/+131
traffic light is green the other is red and vice versa.
2022-08-22Added all filesOmar Magdy1-2/+2
2022-08-22Added initial code + Made the led stay green for 5 seconds then yellow for 2 ↵Omar Magdy4-27/+52
seconds then red
2022-08-21Removed settings and Debug folders and added them to gitignoreOmar Magdy1-0/+2
2022-08-21Added intital projectOmar Magdy46-0/+222815
2022-08-21Initial commitOmar Magdy1-0/+52