OSCCON = %11110000
'32Mhz intosc use
CLKRCON = %11010000
'Turn on ref clock output BE SURE TO DISABLE "CLOCK OUT" IN MEPROGRAMMER
With these statements, I see the 32Mhz on the 'clkout' pin. On a 5v pwr supply, the waveform looks like a sawtooth ~1volt peak to peak that is offset by 2v from zero.
Most low cost radio control toys are 27Mhz or 40Mhz. I tested one that is 27Mhz using Tx antenna length of just 4inches and receiver antenna length of 8inches; the toy car worked for over 40feet.
-ray
"Imagination is more important than knowledge", Albert.E.
Bookmarks