Include your responses to the bold questions below. Include snippets of code that explain what you did. Deliverables are due next Tuesday. Post your lab reports as README.md pages on your GitHub, and post a link to that on your main class hub page.
Take a picture of your soldered panel and add it here!
a. What voltage level do you need to power your display?
5 volts.
b. What voltage level do you need to power the display backlight?
Around 3 or 3.3 volts.
c. What was one mistake you made when wiring up the display? How did you fix it?
I initially forgot to connect pin R/W in the LCD screen to GND. When reviewing my connections, I realised the mistake and connected the pin to GND.
d. What line of code do you need to change to make it flash your name instead of "Hello World"?
I changed the lcd.print("hello, world!"); line to say lcd.print("Eva"); instead.
e. Include a copy of your Lowly Multimeter code in your lab write-up.
Upload a video of your working rotary encoder here.
Link to Rotatory Encoder Video
a. How would you change the code to make the song play twice as fast?
By changing the pauseBetweenNotes parameter from noteDuration * 1.30 to noteDuration * 0.65 to decrease the pause between notes by half.
b. What song is playing?
The Star Wars theme song!
a. Make a short video showing how your timer works, and what happens when time is up!
My timer is designed to keep track of time while taking rest breaks at the gym between sets of exercises. It allows the user to input the a number of seconds which indicate the duration of the break. When the user presses the button, the timer counts down to 0. When the time is up, the speaker plays a constant tone for 1.5 seconds. After this, the timer resets itself so that the user can input the number of seconds to take for the next break and press the button again when ready.
b. Post a link to the completed lab report your class hub GitHub repo.