# V0.31.1 \> Analog Read Bug?

**URL:** <https://forum.xod.io/t/v0-31-1-analog-read-bug/2862>\
**Category:** Uncategorized\
**Created:** [November 18, 2019, 5:34pm UTC](https://forum.xod.io/t/v0-31-1-analog-read-bug/2862 "2019-11-18T17:34:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertspark](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@robertspark](https://forum.xod.io/u/robertspark)\
**Post date:** [November 18, 2019, 5:34pm UTC](https://forum.xod.io/t/v0-31-1-analog-read-bug/2862/1 "2019-11-18T17:34:38Z")

</div>

Suspect that there is a bug with the analog read node

attached are two example sketches for you to try!

[2019-11-17%2016\_40\_09-Window|442x248](https://forum.xod.io/uploads/short-url/3GzhqgLzyMhqUVwe7TDCAGJWqX0.png)

The bug is that the 4 inputs dispite being listed as A0, A1, A2 and A3 all show roughly the same reading.

Tested this on a Genuine Arduino Micro and a Genuine Uno and a Maker Uno… all the same issue…

[https://drive.google.com/open?id=1Q0KQSu8g7VnjVUInvOpcgPK8SuHwczFd](https://drive.google.com/open?id=1Q0KQSu8g7VnjVUInvOpcgPK8SuHwczFd)

![2019-11-18%2017_30_17-Window](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/5/5a749fe16e5de6a853a381a12da3946a0b067756.png)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [November 18, 2019, 6:43pm UTC](https://forum.xod.io/t/v0-31-1-analog-read-bug/2862/2 "2019-11-18T18:43:45Z")

</div>

Are the inputs floating or connected to any sensor?

---

<div class="post-metadata">

**Author:** ![robertspark](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@robertspark](https://forum.xod.io/u/robertspark)\
**Post date:** [November 18, 2019, 7:53pm UTC](https://forum.xod.io/t/v0-31-1-analog-read-bug/2862/3 "2019-11-18T19:53:44Z")

</div>

oops! 😊

a0 \> pot  
A1,a2,a3 floating

tried it with all 4 inputs connected to potentiometers… working ok now (didnt know that the floating inputs would be ~ = to A0… live and learn…

(not very good for fault tolerance … ☹ I expected the input to float to an arbitrary reading, just not to a reading to ~ track A0

again live and learn… (the watch is helpful tool of XOD)
