When I change the microcontroller clock from 4mhz to 8 mhz I put the following code in the beginning of the program
DEFINE OSC 8 'Set oscillator speed to 8
Now I also have to change the values of PULSOUT to be 2 times higher
By 4mhz = PULSOUT 100 by 8mhz = PULSOUT 200
Would I also have to change the values of PULSIN by times 2
by 4mhz = PULSIN 2 by 8mhz =PULSIN 4 ( I KNOW THATS NOT THE COMPLETE SYNTAX)
Also , what effect would the oscillator change have on serially controllling an LCD screen.
Any other changes to the program that would result by switching to a higher speed?
would PAUSE also be affected?
Bookmarks