Circuits!!

This week, we’ve decided to use one of the switches that Dylan made to executed the exercise. The nature of this switch allows it be to three buttons. What we’ve done is to match each button to each LED: first button turns on the white LED, second button turns on the red LED, and the last button turns on the blue LED. We used three if statements, one for each of the button, so that only  one LED can be turned on at a time.

Here is our video explanation.

Leave a Reply

Your email address will not be published. Required fields are marked *