ADC icon indicating copy to clipboard operation
ADC copied to clipboard

pinMode issue

Open pedvide opened this issue 5 years ago • 0 comments

From a private message:

Change any:

pinMode(A0, INPUT); to pinMode(A0, INPUT_DISABLE); // disable digital keeper resistors

The former can interfere with linearity.

More importantly, I think you turn interrupts on, which creates problems for low jitter ADC. If a user has interrupts off, they should remain off.

pedvide avatar Jan 15 '21 19:01 pedvide