Lab 1

When moving through the first lab, I ran into some finicky problems such as my code being stuck at this screenshot below and just never uploading my code. However, when I unplugged and plugged my Arduino back in it worked again.

Screen Shot 2021-10-19 at 4.51.01 PM.png

I ran into another error that I realized was caused by and extra blank space at the end of my code. Other than that, I was able to go through the rest of the lab smoothly.

Lab 2

I very quickly realized that I must have missed a few steps in this lab with this error:

Screen Shot 2021-10-19 at 5.29.54 PM.png

I downloaded the p5 Serial Library and uploaded it with some help from a few friends.

Then, I tried going through the lab. I got a strange response from the communication between my p5 and microcontroller:

Screen Recording 2021-10-20 at 9.00.31 AM.mov

The values were moving without me moving my potentiometer. I thought that maybe I should simplify my breadboard down to just one potentiometer, but when I adjusted my breadboard accordingly, I was able to get it working and reading the potentiometer with the Arduino program, but not the p5 program. I realized that I wasn't connected using the p5.SerialController, but then when I did that and got some values it looked like this:

Screen Recording 2021-10-20 at 9.41.19 AM.mov