How do I use a rotary encoder

How to make schematics tutorial.

The Encoder library page has good information on how encoders work and how to interface and read them.

Encoder library github page.

Playground encoder page.