# Traffic Light Project

{% embed url="<https://youtu.be/KQqJwTlI-Ow>" %}

**The first part of the assignment needs**

* Correctly wired traffic lights as outlined in the video
* variables for each light
* Setup pin modes for each light
* Create a pattern as outlined in the video
* Once it runs correctly, create a student defined function called normalTraffic to run the pattern.

{% embed url="<https://youtu.be/sE3cCTOcMbY>" %}

**The second part of the assignment needs**

* A second student defined function with flashing red lights
* A third student defined function with one flashing red  and one flashing yellow light
* A fourth student defined function with the opposite flashing red  and yellow lights

{% embed url="<https://youtu.be/m390C0iiK1E>" %}

**For the third part of the project, add a button that controls the 4 modes.**&#x20;

{% embed url="<https://youtu.be/KEh0OMoG_Mw>" %}

**For the fourth part of the assignment, change the button to an interrupt and add text as described in the video.**&#x20;
