ageurtse:
yep serial.print is sending 0.now i altered the program a bit, i made 2 integer temp1 and temp2.
and made this at the bottom of the sketch.
And are you going to tell us if it worked or not?
You misunderstand wildbill. He is telling you that you should make a new sketch that ONLY reads the sensors and ONLY prints them to Serial. Tacking something onto the end of the sketch will not help you solve your problem if it happens to be a memory shortage.
But would that solve my problem of not having the second temperature value.
is this becaus of low ram ?
You won't know until you make some changes and do some testing. It is entirely possible that you are runningout of RAM.When you run out of RAM, storing to variables can clobber other variables.