dimmer temperature testing code & hex file