add stuff to use DHT 22 sensor
changed main loop to not use delays to achieve duty cycle