Re: Duty cycle - Another Math dilemma
Hi, Ed
may be , as you use PBP, you could remember about the maximum " pulsin " resolution that won't exceed 1µs @ 40 Mhz ...
so your numbers will be @ best 4947 and 9921 ... 
from that, DIV32 or use of LONGS looks to be the decent way to get enough significant decimals ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks