Certainly if you keep the delay(5000) your IR receiver won't be very responsive.
There is supposed to be a 750 millisecond delay between requesting a temperature conversion and reading the results from the scratchpad.
Certainly if you keep the delay(5000) your IR receiver won't be very responsive.
There is supposed to be a 750 millisecond delay between requesting a temperature conversion and reading the results from the scratchpad.