Code to use an AVR microcontroller with the DHT22 temperature and humidity sensor