Error compiling Encoder.h
I have been working with PJRC Encoder library with Arduino UNO earlier but now I'm moving to Teensy4.0. the encoder is hall effect encoder but I don't think that's the problem( yet)
#include <Encoder.h>
Encoder pitch(1,2);
long pitch_count ;
void setup() {
// put...