typo change

This commit is contained in:
device111 2020-02-19 10:23:56 +01:00
parent 7f72d266f8
commit 5c48644994
2 changed files with 2 additions and 2 deletions

View File

@ -486,7 +486,7 @@
// #define USE_HIH6 // [I2cDriver36] Enable Honeywell HIH Humidity and Temperature sensor (I2C address 0x27) (+0k6)
// #define USE_DHT12 // [I2cDriver41] Enable DHT12 humidity and temperature sensor (I2C address 0x5C) (+0k7 code)
// #define USE_DS1624 // [I2cDriver42] Enable DS1624, DS1621 temperature sensor (I2C addresses 0x48 - 0x4F) (+1k2 code)
#define USE_AHT1x // [I2cDriver43] Enable AHT10/15 humidity and temperature sensor (I2C address 0x38) (+0k8 code)
// #define USE_AHT1x // [I2cDriver43] Enable AHT10/15 humidity and temperature sensor (I2C address 0x38) (+0k8 code)
// #define USE_DISPLAY // Add I2C Display Support (+2k code)
#define USE_DISPLAY_MODES1TO5 // Enable display mode 1 to 5 in addition to mode 0

View File

@ -56,7 +56,7 @@ bool AHT10Read(void)
delay(100);
Wire.requestFrom(AHT10_ADDR, 6);
for(unsigned char i = 0; Wire.available() > 0; i++)
for(uint8_t i = 0; Wire.available() > 0; i++)
{
temp[i] = Wire.read();
}