Hi
Aren't you using a PIC18F4431? If so you should use DT-INTS-18 but I suspect that is what you are doing even if you posted the DT-INTS-14 code?
Right, as far as I know the Freq variable isn't a variable it's an assembler constant. The TimerReload value is calculated at assembly time (not runtime) so once the code is assembled Freq no longer exists and can't be changed.
If you're using the timer template then it's the TimerReload value you should change in order to change the frequency - which is the same thing as we've been thru earlier in the thread.
/Henrik.




Bookmarks