I picked up a couple ec11 rotary encoders and have been using the encoder library and things were working great but now they are not, turning the knob causes my teensy LC to reboot.

I did not have any resistors on the power feed to the encoder, maybe I should have? If so how would I size these? Is there a chance I damaged the board?