Controlling an LED with a Rotary Encoder

Using a rotary encoder, I’ve wired up a dimmable LED using an AtTiny. I haven’t worked with a rotary encoder before and quickly discovered it was nothing like a potentiometer besides for the fact that it turns.1 The rotary encoder also has a push button which I’d like to further incorporate and be able to toggle on and off the LED without going through the dimming process.

One thought on “Controlling an LED with a Rotary Encoder

Comments are closed.