DS18B20 Scrambled LCD HELP!

pylon:

  {

if (minTemp1 == -127) lcd.print("Error");

else{
      lcd.print(minTemp1w,1);
      lcd.setCursor(7,3);
      lcd.print(minTemp1d,0);
    }
  }




You have a very strange syntax for if clauses. Usually the curly braces around the whole block is not necessary but it would be easier to read if you put the "lcd.print("Error");" into such a code block.

Will do, this was something I noticed on some code I've used off the net, wasn't sure if it was right or wrong.

Remove the pin defines as they seem to be wrong.

Not sure what you mean here sorry?

Remove the

#include "Wire.h"

It's not used.

Ok thanks, will do.

I also didn't find out why you define three float values for every output value.

float nowTemp2;

float nowTemp2w;
float nowTemp2d;

I did that when I was trying to work out how best to do the rounding and display it, now that you've pointed it out I think I know what I should've done. I will try this now.

It's interesting that on both scrambled displays a text fragment of "Error" is visible. Try to fix the above issues and post the results your get.

I noticed this too, and I have it print error when the probe returns -127, which leads me to believe there is something going on the 1 or both sensors.

Thanks very much for the help, will work some more on the code and try to work it out.