I am making a small code to read some sensors of temperature, pressure and wind speed. In pin A1 I have an analog input of the wind, but being without connecting to anything, it throws different values. Why does that happen? How do I solve it?
Proyecto.ino (1.77 KB)