Thank you very much!!!!
It works, but it has a strange behavior; if "i" is 32 then the temperature that is reading, is lower than real (4 degrees!!!!); if I choose 4, then it says that I have -32 degrees (or something like that) in my room!!!!!!
.
When I boost the value of "i" it shows more and more accurate (referring to the real temp). I really don't understand why the number of readings affect the VALUE of the temperature in such of strange mode!
Could you, please, explain it? I'm doing something wrong?