PDA

View Full Version : Crystal Timer Input



matth
- 10th May 2005, 15:45
I purchased a 65,536khz crystal and 33pf caps with intent of inputing this into the 16 bit timer on a 16f816 pic. The idea is with a 16 bit timer it will roll over exactly once a second. Now I see examples of inputing the crystal in as the processor clock source but no examples as inputing as a timer clock source.

Can anyone tell me how I hook it up or point me at an example?

Thanks.

Matthew

Bruce
- 10th May 2005, 16:08
The PIC16F819 datasheet shows hookup & a code example in the Timer1 section.

matth
- 10th May 2005, 17:29
>>The PIC16F819 datasheet shows hookup & a code example in the Timer1 section.

Page 62 matter of fact. Just wish the code example was in Picbasic. Thanks.

Matthew