HSL to RGB tutorial + Updated Rotary Encoder Lib

I wrote a little script that converts HSL to RGB values which are then displayed to a RGB LED.

I set the luminance and the saturation and used a rotary encoder to control the hue.

For the project I made a few adjustments to the Rotary Encoder library that should be used with mechanical rotary encoders to provide adequate software debounce.

All this info can be found here: http://www.dipzo.com/wordpress/?p=50

Should be helpful to beginners who are learning to interface RGB LEDs or cheap rotary encoders. Also the library is fairly simple, that one can learn a lot by just reading the code. Hope it helps somebody atleast!