summaryrefslogtreecommitdiff
path: root/trafficlight.h
AgeCommit message (Expand)AuthorFilesLines
2022-08-23Removed prevPeriod from Traffic structOmar Magdy1-1/+0
2022-08-23Added switch_handler() function which allows the pedestrian to make theOmar Magdy1-1/+9
2022-08-23Removed color.h and color.cOmar Magdy1-1/+4
2022-08-23Added a Traffic struct and made the code more generic and easy toOmar Magdy1-1/+14
2022-08-23Added two timers and made them sync the 2 traffic lights as when oneOmar Magdy1-0/+12