Lab: Intro to Asynchronous Serial Communications
CoolTerm
Screen Recording 2021-10-19 at 3.17.06 PM.mov
Screen Recording 2021-10-19 at 3.25.44 PM.mov
Screen Recording 2021-10-19 at 3.34.32 PM.mov
Question:
- What's the difference between byte and inbyte? Why the sensorValue hasn't been read for the serial.available loop.

Screen Recording 2021-10-19 at 3.50.49 PM.mov
- Undefined and unstable potentiometer. Why the potentiometer always shown undefined? How to make sure the sensor is connected to the P5.JS each time we run the sketch?


Screen Recording 2021-10-19 at 4.44.33 PM.mov
Lab: Serial Input to P5.js
Potentiometer and P5.JS
Screen Recording 2021-10-19 at 4.47.31 PM.mov
Screen Recording 2021-10-19 at 4.54.44 PM.mov