>IMO, you don't need more than 64 levels for driving LEDs, but IIRC >this code will do 7 bits relatively smoothly, and shouldn't have >much trouble with 8bits on a faster processor; the existing 64 >levels have more to do with how often I wanted things to change >than the limits of PWM. I think. You may not need more than 64 levels to get appropriate brightness levels, but having more available would make it easier to map the 64 levels into suitable ranges for each LED to achieve colour/brightness matching. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist