some dht22 code for external sensor