Hein (fub) wrote,
Hein
fub

  • Mood:

PWM

With a duty cycle of 48, I can get 7 more-or-less distinctive brightness values with PWM cycles of 1, 4, 8, 16, 32 and 48. This seems to work for all the colors of the RGB-LEDs. I will have to write a test program that courses through all 7 * 7 * 7 combinations, when changing every half a second or so, to see what that does with the colors of the LEDs.

Still, 343 different colors is nothing to sneeze at -- if it all works.
Subscribe

  • Mock Chicken

    The Judge Dredd comics are an interesting artefact of the 1980s: it’s what British comic writers thought how the US urban landscape would…

  • Friday Five: Food

    Food is an important subject of this blog, so I couldn’t pass up a food-themed Friday Five. 1) What is your favourite food? Okonomiyaki, no…

  • Baking

    I have been making chocolates with flexible silicone molds, because those are easy to get the chocolate out of once it’s been set. I did try…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment