Olin Lathrop wrote: > Hector Martin wrote: >> But for a 255-value PWM you need *255* cycles, > > Not quite. A *256* value PWM needs 255 cycles. Sorry, I meant there something like for a 255-maximum-value (0-255 or 256 value) PWM you need 255 cycles. -- Hector Martin (hector@marcansoft.com) Public Key: http://www.marcansoft.com/hector.asc -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist