Adafruit's DHT22 temperature sensor reader for RPi, modified to be a standalone C script.