that worked, but i think maybe the PLL is enabled becuase even a pause 2000 seems like about 1/2 second or so (i dont have a scope to measure the exact frequency). i dont see how
__CONFIG _CONFIG1H, _OSC_XT_1H
would set the HS+PLL but it definately seems faster than ~15Mhz.
lcdout cmd, clr 'clears the LCD screen
pause 200 ' if this pause is not here, it will just print line1 as blank
lcdout cmd, line1, "14.7456 MHz"
pause 200 ' if this pause is not here, it will print a blank screen on line 2
lcdout cmd, line2, " Crystal Test"
pause 4000 ' this is about a 1 second pause




Bookmarks