Day 6 Task: Understanding Arduino
Using the push button code found through the following link: https://arduinogetstarted.com/
Edit the code so that it could be used with
- three buttons
- three different LEDs (blue, green and white)
The edited code should allow the following tasks to be completed:
- Button 1 and Button 2 are pressed together = red LED to light up
- Button 3 OR button 2 are pressed = green LED to light up
- Just Button 1 is pressed = white LED to light up
- no button is pressed = nothing should light up
Please submit your code file or a link to the simulation you build on TinkerCAD for it to be checked and corrected.