aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test-session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test-session.cpp')
-rw-r--r--examples/test-session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/test-session.cpp b/examples/test-session.cpp
index bd58866..4f09591 100644
--- a/examples/test-session.cpp
+++ b/examples/test-session.cpp
@@ -367,7 +367,7 @@ void loop() {
digitalWrite(LED_PIN, 0);
// make sure to skip the TX/RX headers
for(int i = 2; i<NUM_GPIO; i++) {
- pinMode(i, INPUT);
+ pinMode(i, INPUT_PULLDOWN);
gpio_state[i] = (uint8)digitalRead(i);
}
while(!COMM.available()) {
@@ -450,7 +450,7 @@ void loop() {
while(digitalRead(i) == 1) continue;
for(int j=0; j<NUM_GPIO; j++) {
if(digitalRead(j) && j!=i) {
- COMM.print(": FAIL with D");
+ COMM.print(": FAIL ########################### D");
COMM.println(j, DEC);
break;
}