Automated Heating Control - AVR Code