Propeller rgb xmas light
kelvin james
Posts: 531
I am always looking to do something a little different for xmas lighting, I had some rgb leds here, so i hooked one up to the prop demo board, tweaked the resistor values, and modified Phil Pilgrims' Pwmx8 and demo program.
I punched a hole in a ping pong ball where the label is to put over the led, makes a great cheap and festive diffuser for the led. The program does a bunch of random pwm, from soft fades of different colors, to full color blinky things.
The code is childs play for most people here, it is just trial and error to get some nice effects. All the values can be toyed with, and more loops could be added. Anyway, makes a cool light show, almost hypnotic at times.
**
I punched a hole in a ping pong ball where the label is to put over the led, makes a great cheap and festive diffuser for the led. The program does a bunch of random pwm, from soft fades of different colors, to full color blinky things.
The code is childs play for most people here, it is just trial and error to get some nice effects. All the values can be toyed with, and more loops could be added. Anyway, makes a cool light show, almost hypnotic at times.
**
spin
10K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
www.tdswieter.com
You could try switching the common anode led with a uln2003. I am leery of giving advice on the pin output. I know how to set them, but not fully understanding the original program, i am unsure how to apply it.
**