AHT10 sensor Read Error with Heltec OLED library

I have been experimenting with Heltec Wifi-kit-32 board using “example” oled sketches where an AHT10 example has been integrated. AHT10 examples are from Adafruit’s and Enjoyeering;s libraries. The oled examples are from the Heltec library. In cases where the Heltec oled libraries are used, the AHT10 produces read errors. The Enjoyeering code generates a "read error: message, while the Adafruit code just produces invalid temperature (0 °C) and relative humidity (1.9%) readings. When the AHT10 example code is integrated with a G8g2 graphics library example, the AHT10 module produces excellent results. All of these tests use the same Wifi-kit32, AHT10, and wiring. Can anyone explain what is happening?