Nixiebunny
Member
The Teensy 4.0 and 4.1 analog inputs require the digital inputs to be disabled, otherwise they have a weak pullup/pulldown circuit active that causes a small glitch around the midpoint, ~1.67V.
The cure is this statement in the setup() section:
pinMode(<pin>, INPUT_DISABLE);
The Teensy 4.0 and Teensy 4.1 product pages, in the Analog Input section, need to state this important fact.
I wasted a couple hours before I finally figured out the right Google search terms to find the forum discussion in which this is revealed.
The cure is this statement in the setup() section:
pinMode(<pin>, INPUT_DISABLE);
The Teensy 4.0 and Teensy 4.1 product pages, in the Analog Input section, need to state this important fact.
I wasted a couple hours before I finally figured out the right Google search terms to find the forum discussion in which this is revealed.