Greiman OLED 1306 with DHT22

I am trying to use a DHT22 sensor on a nano with a new style 1.3" 1306 oled display. I am using the Greiman oled text only library. The displayed text works correctly, but something is messing with the DHT22 values because I I only get temperature readings of 54.50 (in a 80 degree room) and Humidity reading of 3305.40 (s/b around 50%) OR just the "nan" readings most of the time. The sketch ran ok when I had the Adafruit OLED libraries installed, but I was hoping to get more memory back to do some other things using the very small Grieman library.

Any suggestions?

Thanks in advance for your help and suggestions.

I am constantly amazed at how well the community responds to requests like this.

Thanks again.
Bruce

P.S. my sketch is attached.

Nano13.ino (3.54 KB)

My bad!!! In my haste to change to different OLED libraries I deleted the begin.DHT statement to enable the DHT functions.

So let it be know to all that the Grieman OLED libraries works PERFECTLY with the DHT functions on my NANO, MEGA2560 and ESP32 computers. The ADAFruit and U8glib also work just fine, but I really like the Grieman code because it is so small and I think the command format is well thought out.

NICE JOB Mr. Grieman!!!