10_16_17_RM_Traffic Signal

Classes:  RM
Date of Assignment 10.16.17
EQ(s): Can you use your brick to create a traffic signal and crossing walk with a touch sensor using just brick programming?  How much easier is it to use the computer program instead.

Assignment: Create a brick program that makes a traffic signal using the status lights on the brick.  The green light should come on for 10 seconds, the yellow for 5 seconds and the red for 10 seconds.  When the touch sensor is pressed during green the light should cycle immediately to yellow and red and stay red for 20 seconds while the brick says "Walk" repeatedly. 

Advanced:  When there is 5 seconds left on the Walk signal before turning back to Green, make the EV3 say "Don't Walk" repeatedly.




Comments