I've been using a small bit of rotary encoder code on the Teensy 3.2 and have just bought a Teensy 4 to test.
The code has the following define statement:
#define ENC_PORT PINC
Which has worked on the previous Teensy iterations but not the 4. Does anyone have a quick explanation as to why?
The code has the following define statement:
#define ENC_PORT PINC
Which has worked on the previous Teensy iterations but not the 4. Does anyone have a quick explanation as to why?