hey martin, thanks for posting this, it was alot of help, and if anyone want to check it out heres my interpertation of it in fcf below with t2con and pr2 c code,... and yes i know i wrote the ratios backwards

...did you notice the prescaler on the new chips can go down to 1:64

which it can now be used as a alternative for extra timer 1 macros .... when the program starts press switch 3, this switch is used to toggle the screen between "tmr2(prescaler) tmr2(postscaler) tm2(rollover)..... when selected the option that you want to set select switch 1 for increase or switch2 for decrease the value......... the rollover has quick access features if you hold switch 4 while incrementing or decrementing it will increase increase value by x10.. same with the switch 5 but will increase by x100, this is on roll over only, the values get updated each time you hit increment or decrement switches... switches 1-5 are on b1-b5 output is on a0..... the ontime pulse is set to 8micro seconds, so anything above 60Khz will lock it up and the main will take forever to run.... change the ontime by increasing the loop count in the tmr2 macro, 50 works good but the max obtainable frequency is limited less then 50K