hello
thanks bruce for this code!
i have a question for you.. if i want to change the frequency to 500Hz.. i do..
T2CON = %00000110 ' TIMER 2 ON/ PRESCALE 1:16
PR2 = 250 ' SETUP FOR 500HZ
but if i want to change to 100HZ i can't.. because prescale is in max (max=16) and PR2 is almost on max(max=255)..
how i could work with small frequencies?
best regards
Pedro Rodrigues
Bookmarks