I don't see why you have to go to *more* then 8 bit resolution. You just have to "map" your 8-bit *linear* value through a table into a 8-bit *non-linear* value (that controles the PWM regs). This means that in one end of the table you will map into a sequense of equal values, and in the other end you will have "gaps". All to give the impression of a "smooth" dim. And the question is also, how many "steps" do you need to get a smooth dim. Will you see the differense between two steps in a 128 step dim ? Or a 64 step dim ? I'd guess not. Jan-Erik S=F6derholm =20 Josh Koffman wrote: >Hi all. I've been playing around with software PWM controlling some >LEDs. Problem is, as the eye's response to brightness isn't linear, = when >I simply control the LEDs brightness using an 8 bit value (with no >compensation) they don't appear to dim smoothly. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body