> The first reply you gave was great info, but way more than I needed. > For example, it was figuring out the exact period in microseconds (or > some higher math such as that) ISTR that was for measuring the fan speed, not PWM > I really don't care what the period or duty cycle is for my purposes, as > it's just cycling an LED Those two terms and their relationship are intrinsic to PWM operation so of course it is an advantage if you do care > On the other hand, I don't think that page made mention of what > registers to set and this and that for the basic PWM setup. Well, I pretty much typed it verbatim into asm. Compare my code and the page with what you know now wbr -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist