Re: W8TEE vft/tft questions

John P
 

To follow up on my post from last night, the "Rotary" library I've been using is from "// https://github.com/brianlow/Rotary"; I think this is the same one Jack used in his antenna analyzer code.

In the "Rotary.h" file for that library, you will find:

    // Enable this to emit codes twice per step.
    // #define HALF_STEP

or, I suppose you can define the symbol in your own code. When "HALF_STEP" is defined, the encoder will generate an interrupt at each detent and halfway in between. If the symbol is not defined, the encoder will only generate interrupts on the detents.

--
John - WA2FZW

Join BITX20@groups.io to automatically receive all group messages.