Skip to content

Commit 25dbfe9

Browse files
cparatafpistm
authored andcommitted
Update WiFi_MQTT_Adafruit.io.ino
Update example to new HTS221 APIs
1 parent 36537fa commit 25dbfe9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/Boards/STM32L475VG-DISCOVERY-IOT/WiFi_MQTT_Adafruit.io/WiFi_MQTT_Adafruit.io.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ void setup() {
8080

8181
// Initlialize components.
8282
HumTemp = new HTS221Sensor (dev_i2c);
83+
HumTemp->begin();
8384
HumTemp->Enable();
8485
}
8586

0 commit comments

Comments
 (0)