After reading this week's reading materials, I did Labs.

I already learn serial communication at the class of Prototyping Electronic Devices.

So that was good for my review of the class and previous study(when my undergrad and ex-graduate)

I learned how to see the values via serial port in Terminal app(actually I use iTerm and VSCode).

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3a9488b2-60ce-41d3-8e6f-53b62c194905/Untitled.png

(I didn't connect any device in this time tho)

Serial Terminal Basics

This link was good for understanding.

What is Carriage Return?

Carriage Return is actually not same as line feed code.

That command declare to go back a cursor to the head of line.

And CR was used in old-fashioned Mac.

That's why it is almost the same as line feed code.

Try Serial communication

Input