WIRING of KY-040 Rotary Encoder plus Demo Code

mrmonteith:
Some have a solder bridge in place of the resistor.

If the resistor is a pull-up, a solder bridge would prevent it from working.