analog reading

axelgel

  • Newbie
  • *
    • Posts: 3
    • View Profile
Hello,
I am testing the analog reader . I objserved that the reader give me 1025 sometimes also with the circuit open. I simply put two wire without closing the circuit between the + and a0.
Could you suggest me a way for fixing it?
Kind Regards.


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 342
    • View Profile
Hi,

Can you post your code? You should be seeing a range of 0 to 1023- with an open circuit, it should settle on a value in this range.

Thanks,
Ben


axelgel

  • Newbie
  • *
    • Posts: 3
    • View Profile
Hi,

Can you post your code? You should be seeing a range of 0 to 1023- with an open circuit, it should settle on a value in this range.

Thanks,
Ben

Hello I found the solution. Was simply a wrong wire :-)
thanks...