ok i got the idea right now.
what about value in the lookup table? is it 8 bit wide or more because
from my calculation of duty cycle:
let say 50%
prescaler 4
PR2+1 =250
so duty2 = 250*4*0.5 = 500
and if the value of constant in lookup table only 8bit wide , what should i do?
change to prescaler 16?? that would decrease my resolution..
please help assist
photoelectric
Bookmarks