Skip to content

Commit

Permalink
make test firmware quicker
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhorner committed Jun 6, 2024
1 parent 3d3ebc4 commit c3f7eca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test-firmware/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void setup() {

digitalWrite(LED_BUILTIN, HIGH);

delay(100);
delay(200);

for (int &pin : pins_to_test) {
Serial.print("Waiting for pin ");
Expand All @@ -41,6 +41,8 @@ void setup() {
delay(100);
digitalWrite(LED_BUILTIN, HIGH);
}

digitalWrite(LED_BUILTIN, LOW);
#else
digitalWrite(LED_BUILTIN, HIGH);

Expand All @@ -61,7 +63,7 @@ void loop() {
Serial.println();

digitalWrite(pin, HIGH);
delay(1000);
delay(300);
digitalWrite(pin, LOW);
}
#endif
Expand Down

0 comments on commit c3f7eca

Please sign in to comment.