We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a0c3bb commit 3ab43d5Copy full SHA for 3ab43d5
libraries/MySensors/examples/MysensorMicro/MysensorMicro.ino
@@ -63,9 +63,9 @@ void setup() {
63
64
Serial.begin(115200);
65
// First check if we should boot into test mode
66
- testMode();
+
67
pinMode(TEST_PIN,INPUT);
68
- digitalWrite(TEST_PIN, HIGH);
+ digitalWrite(TEST_PIN, HIGH); // Enable pullup
69
if (!digitalRead(TEST_PIN)) testMode();
70
71
digitalWrite(TEST_PIN,LOW);
@@ -202,6 +202,8 @@ void testMode()
202
uint8_t ret_code;
203
byte tests = 0;
204
205
+ digitalWrite(LED_PIN, HIGH); // Turn on LED.
206
207
Serial.println(F("Testing peripherals!"));
208
Serial.print(F("-> SI7021 : "));
209
delay(100);
0 commit comments