Quote:
|
Originally Posted by steven114
I'm trying to appropriate TMR0 on the PIC for my own use, but when I do so the RC starts scrambling all my printf() calls.
Code:
T0CONbits.T08BIT = 1;
causes this:
to look like this:
is the only printf() called.
I've isolated it to that single instruction - if I remove that line, everything works great, except I can't use the timer. I seem to remember a sheet saying exactly what the code itself uses (in terms of processor resources) but I don't remember any of the timers being listed there and I can't find it again (after extensively searching the IFI site - does anyone else find it difficult to find stuff on it?)
Any ideas/pointers to where that information is? Thanks!
|
Timer 0 is used for internal processes. Try using timer 2 or 4, they are both easy to use.