This is a timely update!
I was having non-linearity issues with ADC readings with a Teensy 4.0 last week, and having searched this forum, discovered the problem with the input pin "keepers".
Just to clarify, to disable the input keepers, we just use the analogRead() command as normal, with...