Ian, Scott Dattalo has nice 8 pwm routine I do not think you need any other hardware. His routine can control 8 pwm simultaneously. http://www.dattalo.com/technical/software/pic/pwm8.asm Andre ianlesnet@cwazy.co.uk wrote: >Hello, > >I'm not sure if this is OT, so I put it here to be sure. > >I am looking for an IC with 3 or 4 hardware pulse width modulators, with >any kind of interface (I2C, SPI, etc). My current project is to make >accent lights for my apartment using red/blue/green + white LEDs. I >didn't see any PICs with 4 PWMs, but I have found some almost suitable >solutions: > >Phillips makes the PCA 9530/1/2/3, an I2C LED dimmer with 2 to 16 bit I/O >- though each model has only two PWMs total. Also, the SO form parts >don't seem to actually be purchasable. > >The MAX 7313/4/5/6 are similar, though they have PWM on each I/O bit. >This IC, however, has only 16 preset PWM steps, and comes only in QFN/QSOP >packages. > >Is anyone familiar with an IC that might work? Something with 3 or 4 PWMs >in SO/DIP would be ideal, it doesn't need to drive the LEDs directly like >the chips above. > >Thank you, > >Ian > > > > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist