Serial Communications

Preparing the board for the first lab took me way longer than expected because I did not realize the potentiometer was not situated in the board fully. Once I noticed that I switched to a different style and got it set up.


How many bytes does Serial.println(analogValue) send when analogValue = 32?

  • six bytes ❌

“FOUR bytes! It sent a byte to represent the 3, a byte to represent the 2, a byte to tell the Monitor to move the cursor down a line (newline), and a byte to move the cursor all the way to the left (carriage return).”

I tried to base my answer off of the calculator but I do not understand how to read the information given to me when putting “32” in.

 
Previous
Previous

Two-Way (Duplex) Serial Communication

Next
Next

Midterm - Ghost Choir