Ds18b20 Arduino Relay Control, Looking at the program, you want to turn both either completely on or completely off.