Why is analogRead() not greater than 1023? [SOLVED]

Started by nmenoni, September 15, 2018, 08:08:01 PM

nmenoni

Hi, I'm new with the Moteino M0.
My question is this, when I read an analog pin with "analogRead()" the values go from 0 to 1023, but it is assumed that this MCU has a 12bits ADC, so the values should be in the range of 0 and 4095.

What I can be doing wrong?
Thanks!

TomWS

#1
DAGS1: arduino m0 analogread


Note 1: Do A Google Search

Felix