[SOLVED] 18B20 timing problem

I attached the files,

i know the 750ms delay, but my idea of "real time temp" derived from display used.
My display work on BCD, so arduino pick the TEMP variable from gettempbyindex, convert in bcd, and send this to display.

So during 750ms conversion time arduino convert always the same value to bcd (no problem), but during the GetTempByIndex we need 28ms, and during this 28ms the TEMP variable is empy, so NO BCD CONVERSION, so display off.

DallasTemperature_371Beta.zip (23.3 KB)