Fixes error on initialization when SHTC3 its sleep

This commit is contained in:
DESKTOP-LNRKQCR\giova 2023-08-10 12:45:42 -04:00
parent ec670f90e4
commit 960db96e26

View file

@ -66,8 +66,8 @@ bool Adafruit_SHTC3::begin(TwoWire *theWire) {
return false;
}
reset();
sleep(false);
reset();
// read the ID
if ((readID() & 0x083F) != 0x807) {