Skip to content
Snippets Groups Projects
Commit 0420bbe7 authored by Mr. SQUID's avatar Mr. SQUID
Browse files

Update AnalogReadSerial_V2.ino

parent 5b08e37c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ void loop() {
char userinput = Serial.read();
if(userinput == 'g'){
int sensorValue = analogRead(A0);
int sensorValue = analogRead(A3);
Serial.println(sensorValue);
delay(100); // delay in between reads for stability
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment