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

  • Little laptop

    Most of the stuff I do on a computer can be done in Firefox: mail, twitter, discord, etc. But my machine is in our office (it’s a proper…

  • CPU upgrade

    I had an AMD A8 in my desktop, one of the AMD APUs which have a CPU and a nifty graphics card built in the same package. Our media computer is an…

  • Accidental wipe

    Recently, my system has become unstable. I have an AMD A8 APU and run Ubuntu -- it has served me well for years. But after switching to 16.10, a…

  • 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