Peter Todd wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, Jun 20, 2007 at 08:59:19PM -0400, Rolf wrote: > [snip] >> Anyway, if you are interested I am happy to share all my work including >> Eagle PCB drawings and C18 code (with mostly assembler interrupt >> routine...). >> > > That'd be great thanks. Share it under the GPL, then that way, if I or > anyone else ends up using any of your code, you'll get credit in the > copyright notices of anyone who uses it. > > [snip] >> *** actually, I have 16 RGB LED's, but I have 8 shining up from the >> stage, and 8 shining down on to a white-board for cool effects.... There >> are 8 light "boxes" and the 2 RGB LEDs in each box are wired in series. >> Because the G and B LED's have high forward voltages (4.5V which in >> series is 9V, I am driving the LED's at 12V, but the PIC at 5V). >> > > 12V 'eh? With no resistors, or are you relying on pwm to limit the > average current? > > As for releasing the code, I am happy to give it over to you with a GPL license. I just don't have the facilities to host it, etc. Perhaps I can put up another page on piclist. It will take some time, and if you want to get a heads-up I can e-mail it to you sooner. As for the 12V-with-no-resistor,... no. I have resistors on each LED. I am using the RGB LED OVSTRGBBCR8. Each colour has an 80mA maximum continuous rating. I did my math at 50mA. The G and B have 60Ohm, the R has 140Ohm.... with 4.5V drop, to limit current to 50mA on the G and B (and having 2 LED's in series), I have a 9V drop on the LED's, and the 3V/60 gives 50mA. With the red, 2.5V forward, that leaves 7V to control current, I am using 140Ohm. Rolf -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist