Use Serial.print() to send the data to "your computer", which will be running a terminal program to display the data, and log the data to a file.
Use Serial.print() to send the data to "your computer", which will be running a terminal program to display the data, and log the data to a file.