Skip to content

Commit 6add2a4

Browse files
authored
Update Serial-Monitor.h
Signed-off-by: Adrian <[email protected]>
1 parent 3eb838c commit 6add2a4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/Serial-Monitor.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,24 @@ int SerialMonitor::initialize() {
3737
} else {
3838
Serial.println("analogRead2 → " + value);
3939
}
40+
value = serial.analogRead3();
41+
if(value == NULL) {
42+
Serial.println("analogRead3 → NULL");
43+
} else {
44+
Serial.println("analogRead3 → " + value);
45+
}
46+
value = serial.analogRead4();
47+
if(value == NULL) {
48+
Serial.println("analogRead4 → NULL");
49+
} else {
50+
Serial.println("analogRead4 → " + value);
51+
}
52+
value = serial.analogRead5();
53+
if(value == NULL) {
54+
Serial.println("analogRead5 → NULL");
55+
} else {
56+
Serial.println("analogRead5 → " + value);
57+
}
4058
return true;
4159
}
4260

0 commit comments

Comments
 (0)