In SX Microcontrollers, SX/B Compiler and SX-Key Tool, John Bond wrote: Hi Guys I've built some of Jon's LED candles (using the SX28 IC). The 5 LEDs in the "Flame" are randomly pulsed on and off and large electrolytic caps soften the switch on so that the LEDs don't have a digital look. Each LED goes from dim to bright in each cycle rater than switching ON/OFF. Looks great! Just one problem, each candle consume 80mA which gives the 4 penlight AA a life of under 24 hrs. I'm told I could pulse the LEDs with a duty cycle of say 5% and get the consumption down to under 5mA or a battery life of about a week. The question is how to I change the intensity of the LED and pulse it at the same time? Kind Regards from Kwa Dukuza John Bond ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=115364 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)