After one week trying to read a temperature using stm32f103c8t6 and a LM35 I found that the only thing missed was a 10uF electrolitic capacitor between groung and signal pins of the sensor. Now it is working right.
Alfredo Oliveira
/
LM35WorkingCode