| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2022-08-23 | Added Traffic_Handler function to apply DRY principle | Omar Magdy | 1 | -47/+27 | |
| 2022-08-23 | Added switch_handler() function which allows the pedestrian to make the | Omar Magdy | 1 | -10/+112 | |
| 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 | Added a Traffic struct and made the code more generic and easy to | Omar Magdy | 1 | -2/+18 | |
| maintain | |||||
| 2022-08-23 | Added two timers and made them sync the 2 traffic lights as when one | Omar Magdy | 1 | -0/+29 | |
| traffic light is green the other is red and vice versa. | |||||
