Write a VHDL code for the next problem
You have a traffic light which is green for cars and red for people, which is the normal state. Each side of the road has one button each for sidewalkers to push if they want to cross the street. When a button is pushed, the traffic light keeps its colors (green for cars, red for people) for 20 seconds, then it switch for 10 seconds, then switch again till a button is pushed again. The time is measured with a stopwatch, counting backwards from 20 to 0 and from 10 to 0.
Answers
Answered by
0
You have a traffic light which is green for cars and red for people, which is the normal state. Each side of the road has one button each for sidewalkers to push if ... a button is pushed, the traffic light keeps its colors (green for cars, red for ... then it switch for 10 seconds, then switch again till a button is pushed ...
Similar questions
English,
5 months ago
English,
5 months ago
Geography,
5 months ago
Chemistry,
10 months ago
Social Sciences,
10 months ago
Environmental Sciences,
1 year ago