I will walk you through the steps I did while doing this week’s lab….
Lab 1 Lab: Intro to Asynchronous Serial Communications
step 1 :
void setup() { // start serial port at 9600 bps: Serial.begin(9600); }
void loop() { int analogValue = analogRead(A0); Serial.println(analogValue); }
!!!!! https://itp.nyu.edu/physcomp/lab-intro-to-serial-communications/#Initializing_Communication
Very important set datarate :
Serial.begin(9600);
I was having trouble with the Arduino Port… I had to reset my computer and Arduino several times.
then ….I realized I was doing the wrong lab..
Lab 2