[sdiy] PIC16F84 ASM TMR0/Prescaler delay question

Rob B cyborgzero at home.com
Wed Jan 2 04:06:00 CET 2002


Okay, I have this bit of nifty code I got public domain, and it runs on
8mhz...

But, I have *loads* of 10 mhz parts, and I want to add a bit to the code
too, so I def want the extra bit of speed..

Now, if I am porting it over to a 10mhz part from an 8mhz part, and want to
make all the delays work properly, what should I do?

Should I change the value in TMR0?

I *would* change the value in the prescaler, but its already maxed out at
256..

If the TMR0 is what is being used to set all the delays, theoretically I
*should* be able to change that, and have it globally adjust all the delay
times, correct?

I have always written code for myself up until now, and I am having some
brain flatulence, since I never needed to change the part speed before! ;)


AIM: cybrgzr0 <--- the last thing is a number




More information about the Synth-diy mailing list