Updated sketch, removed the forced testmode (used for testing)
This commit is contained in:
@@ -63,9 +63,9 @@ void setup() {
|
||||
|
||||
Serial.begin(115200);
|
||||
// First check if we should boot into test mode
|
||||
testMode();
|
||||
|
||||
pinMode(TEST_PIN,INPUT);
|
||||
digitalWrite(TEST_PIN, HIGH);
|
||||
digitalWrite(TEST_PIN, HIGH); // Enable pullup
|
||||
if (!digitalRead(TEST_PIN)) testMode();
|
||||
|
||||
digitalWrite(TEST_PIN,LOW);
|
||||
@@ -202,6 +202,8 @@ void testMode()
|
||||
uint8_t ret_code;
|
||||
byte tests = 0;
|
||||
|
||||
digitalWrite(LED_PIN, HIGH); // Turn on LED.
|
||||
|
||||
Serial.println(F("Testing peripherals!"));
|
||||
Serial.print(F("-> SI7021 : "));
|
||||
delay(100);
|
||||
|
||||
Reference in New Issue
Block a user