I found that code from instructables and tried use in a spark core. I received incorrect values.
temperatura = analogRead(A0); val = analogRead(tempPin); float mv = ( val/1024.0)*5000; float cel = mv/10;
So I change the code to following, but receive incorrect values. My question is what is the correct values to read the temperature in cº
temperatura = analogRead(A0); float mv = ( temperatura/4095.0)*3300; float cel = mv/10; float farh = (cel*9)/5 + 32;