PoE: Working on Lab 1
For the second class of "Principles of Engineering," my partner and I began where we left off last class -- just beginning the second lab. Consisting of two parts, Lab 1 focuses on ensuring the students attain a certain level of familiarity with the ArduinoUNO's coding language and applying the board in an electrical circuit. Specifically, the first part asks us to generate a code where three LEDs experience four sets of light patterns with the use of a single button.


- Simplifying the code and removing the last two stages to test out the "switching" mechanism did not have an effect.
- Removing the second stage did not have an effect.
- Creating a "test" code to see if it could switch between two single LEDs did not work either.

Words to the wise: ALWAYS take note of indicating arrows and marks that show the first pin or how to orient properly. Although we had used the diagonal pins as instructed, it did not occur to us that we should rotate the button to ensure that the first pin was actually connected to the power supply and its diagonal (not horizontal) match was connected to GND. At least, we have our code and can make significant progress in the next few days.
Comments
Post a Comment