View previous topic :: View next topic |
Author |
Message |
lokken
Joined: 21 Feb 2010 Posts: 17
|
Usage of external crystal for Capture |
Posted: Sun Feb 21, 2010 7:13 am |
|
|
My compiler version is 4.068. And my pic is 18f452. I want to use external crystal to RC0-RC1 (32.768kHz). But I couldn't understand the usage of these codes shown below. Could you explain what is the difference between these codes? What do you prefer for usage of external crystal?
Code: |
setup_timer_1(T1_EXTERNAL | T1_DIV_BY_2);
|
Code: |
setup_timer_1(T1_EXTERNAL | T1_DIV_BY_2 | T1_CLK_OUT);
|
|
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
|