P-Comp Week6
- sal9740
- Oct 19, 2021
- 1 min read
When going over the readings I understood the general difference between Raw Binary and ASCII.
One question I have is what will changing the data rate affect in the output?
Intro to Asynchronous Serial Communications
Instead of using two potentiometers I used one, and a servo motor, along with a switch button. I was not successful in getting a second sensor reading from my servomotor. I will try with two potentiometers to see if it was something with my connection.
Questions:
What does the if statement do in the call and response code

Lab: Serial Input to P5.js
At first my sensor.event function wasn't in the Draw loop, and the Sensor Value read as undefined. Now my return value stays at -1. I'm not sure why it doesn't change with the potentiometer

Comments