Update AHT20_Any_MCU_Serial.ino

This commit is contained in:
enjoyneering 2020-03-20 19:38:07 -04:00 committed by GitHub
parent 9883d5d3b8
commit 7a77fbb1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,10 +44,10 @@ void setup()
while (myAHT20.begin() != true) while (myAHT20.begin() != true)
{ {
Serial.println(F("AHT10 not connected or fail to load calibration coefficient")); //(F()) save string to flash & keeps dynamic memory free Serial.println(F("AHT20 not connected or fail to load calibration coefficient")); //(F()) save string to flash & keeps dynamic memory free
delay(5000); delay(5000);
} }
Serial.println(F("AHT10 OK")); Serial.println(F("AHT20 OK"));
//Wire.setClock(400000); //experimental I2C speed! 400KHz, default 100KHz //Wire.setClock(400000); //experimental I2C speed! 400KHz, default 100KHz
} }