Hello,
I appear to be having a problem with analogueRead using T4.1
I have a simple setup, a potentiometer wired to 3.3v and Gnd, with the sweeper pin connected to A14.
I am reading the analog value using analogRead(14) and simply displaying this on the serial port.
As I sweep the potentiometer, I get value printed out from 0 to 1023 as expected. However, around the centre point there is a gap between 490 and 590 ( when turning the pot CW) and a gap between 560 and 460 when rotating the pot CCW.
I get the same results when connected to A15 as well.
Any ideas when this could be?
Thanks in advance
Keith
I appear to be having a problem with analogueRead using T4.1
I have a simple setup, a potentiometer wired to 3.3v and Gnd, with the sweeper pin connected to A14.
I am reading the analog value using analogRead(14) and simply displaying this on the serial port.
As I sweep the potentiometer, I get value printed out from 0 to 1023 as expected. However, around the centre point there is a gap between 490 and 590 ( when turning the pot CW) and a gap between 560 and 460 when rotating the pot CCW.
I get the same results when connected to A15 as well.
Any ideas when this could be?
Thanks in advance
Keith