26 Serial.print(
"Temperature: ");
27 Serial.println(hat.hdc2021.readTemperature());
28 Serial.print(
"Humidity: ");
29 Serial.println(hat.hdc2021.readHumidity());
Main interface for accessing TKJHAT board features.
void begin()
Initialize all peripherals on the HAT Also initializes the default I2C bus for sensors and display.