| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2022-08-23 | Added Traffic_Handler function to apply DRY principle | Omar Magdy | 1 | -0/+2 | |
| 2022-08-23 | Removed prevPeriod from Traffic struct | Omar Magdy | 1 | -3/+3 | |
| 2022-08-23 | Added switch_handler() function which allows the pedestrian to make the | Omar Magdy | 1 | -81/+5 | |
| 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-23 | Removed color.h and color.c | Omar Magdy | 1 | -3/+3 | |
| 2022-08-23 | Added a Traffic struct and made the code more generic and easy to | Omar Magdy | 1 | -24/+54 | |
| maintain | |||||
| 2022-08-23 | Added two timers and made them sync the 2 traffic lights as when one | Omar Magdy | 1 | -48/+43 | |
| traffic light is green the other is red and vice versa. | |||||
| 2022-08-22 | Added initial code + Made the led stay green for 5 seconds then yellow for 2 ↵ | Omar Magdy | 1 | -24/+45 | |
| seconds then red | |||||
| 2022-08-21 | Added intital project | Omar Magdy | 1 | -0/+46 | |
