There are tons of ways of creating a home-made microcontroller. Today we present a very detailed tutorial on how to achieve this using the rotary encoder from the scroll button of a mouse.
This is part 5 of a series. The goal here is to achieve a constant frequency signal at the output of the Papilio Pro and be able to vary the duty cycle just turning the wheel of the mouse. The other parts of the series would teach how to wire the whole circuitry as well as how to capture the encoder info for the different modules. Have fun!