Reading temperature with GROVE temperature sensor

Hi everyone,



I’m trying to get the ambiance temperature reading using the GROVE temperature sensor.



The sensor is connected to a Photon base shield and I’m reading the A0 pin.



I have copied the example code from seeedstudio wiki:



<LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-Tempe … nsor_V1.2/”>http://wiki.seeedstudio.com/Grove-Temperature_Sensor_V1.2/</LINK_TEXT>



But the result of the formula is allways 0.0000



I have also readed the grove started kit for photon and the formula is different in that document.



¿Is there any example with photon and grove temperature sensor V1.2?



thanks for your suport.

hi everyone, I have been testing the code of the example in this url:



<LINK_TEXT text=“https://github.com/Seeed-Studio/Grove_S … oton_Demos”>https://github.com/Seeed-Studio/Grove_Starter_Kit_for_Photon_Demos</LINK_TEXT>



and now every thing seems to be ok. I’m getting good values from temperature sensor.



thanks a lot.