mcbuilder23
Member
Is it possible to turn the interrupt for the encoder library on and off so any encoder movements that happen when I don't care to read them don't slow my loop down?
My program uses switch... case statements so it would be easy for me to target when and where to shut off the interrupt and turn it back on. I just need to know if that is possible and how.
This is the library: https://www.pjrc.com/teensy/td_libs_Encoder.html#optimize
Thanks
My program uses switch... case statements so it would be easy for me to target when and where to shut off the interrupt and turn it back on. I just need to know if that is possible and how.
This is the library: https://www.pjrc.com/teensy/td_libs_Encoder.html#optimize
Thanks