mirror of
https://github.com/enjoyneering/AHT10.git
synced 2024-10-03 18:09:02 -04:00
Update AHT20_Any_MCU_Serial.ino
This commit is contained in:
parent
9883d5d3b8
commit
7a77fbb1eb
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user