Tutorial 15
For this tutorial we had disassemble the breadboard and start from scratch. We basically did some simple wiring that didn't take too long because a clear picture of the wiring was given to us in order to turn on an LED. But this wasn't just any LED, this was a RGB LED. This basically meant that it was able to show more than one color. The main three colors of this LED are Red, Green, and Blue. After we were done wiring it, we pasted the given code into the Arduino IDE program and it made the LED play Green, Blue, and Red in that order for about a second each. This was an easy task for us to complete. It was completed in a matter of seconds.
Tutorial 16
The breadboard for this tutorial stayed the same. Nothing was changed or edited on it. This tutorial was a coding challenge. So we went onto the Arduino IDE application and changed the code so that the code will make the LED show 5 more colors. We can do this by mixing the main three colors. By turning on 2 or 3 lights at the same time you can get other colors. Once we finished that all we had to do was show each color for about 5 seconds. This was way too easy for us to complete, so afterwards we decided to challenge ourselves. We made the colors randomly play with a short time so that it looked like a party light.
No comments:
Post a Comment