Arduino Fun

Mar 17, 2014 13:40

NeoPixels Rock! I am coding firmware for an adjustable flashlight using a rotary encoder. Press the encoder's center button once for white light and dial for brightness. Press it again for color and dial for which one. As the encoder only has 24 positions, I have to balance granularity of the spectrum against how many turns it takes to round the ( Read more... )

Leave a comment

Comments 1

keith_m043 March 18 2014, 06:52:16 UTC
finally got the encoder interface working..and the white light mode. Colour mode (heh my spellcheck on my raspberry pi is set to english english :) will have to wait until I figure out how to declare an array of predefined packed 24 bit color specifiers, or on my deriving a formula to distribute evenly primary color variations around an arbitrary number of increments.

Reply


Leave a comment

Up