DS18B20 - temperature sensor code Help Request

I tried it using pin 8 ( change code accordingly) - same results.

I am using a 1k resistor for the led -

  1. I decided to replace the led in the same spot.
    Now led is not blinking and it stays on during a Temp1- alarm1 and goes off with no alarm1 -PERFECT

  2. I added another led for Temp0

  3. When Temp0 goes into alarm0 mode - LED still blinks light - Not good

  4. The lcd display also flashes Temp0 to Alarm0 back and forth - Not good