On Tuesday, Jun 1, 2004, at 02:47 US/Pacific, Paul James E. wrote: > > Wasn't there at one time a thread on the list regarding an algorithim > to program a PIC to simulate the flicker of a candle flame? I posted code to do something like that. Drove the 5 outputs of a 12F675 with pseudo-random brightness (via PWM.) Used 4 LEDs to make a pitchfork "flame" for a halloween costume... I'll send the code privately, but a search of the archives for "flames.c" should turn it up as well. BillW -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.