For B, We modified the previous code to make the red LED blink twice, then the green LED to blink once and finally the blue LED to blink twice. As said previously the "blue" LED was replaced with a white LED since we had no blue LED available. Below is a video of the red LED blinking once, the green LED blinking once and finally the blue LED blinking twice.
For C, We modified the previous code to have the red LED blink, then the green LED, then a blue LED, and finally a green LED and we made this pattern repeat. As said previously the "blue" LED was replaced with a white LED since we had no blue LED available. Below is a video of the red LED blinking, then the green LED, then a blue LED, and finally a green LED.
No comments:
Post a Comment