ds18b20 and dht22... cant get them to work together

When used as-is, out of the box, temperature readings from the DallasTemperature library can be blocking.

I’ve written a simple wrapper for this library that makes it easier to use it in a non-blocking manner:

The device is so slow (relative to a micro-controller) that interrupts aren’t required, just a non-blocking loop() function.

Give the example a look. Feel free to use the wrapper or just the techniques contained therein.