external clock input to RC0/T1CKI on pic18f252 troubles


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: external clock input to RC0/T1CKI on pic18f252 troubles

    Hi,
    This forum isn't really about discussing issues with compilers/languages other than PBP but a quick glance at your code shows
    Code:
    T0CON = 0x87;
    // configure Timer 0 - select 16-bit mode,
    // internal clock source, enable 1:256 prescaler
    The value of 0x87 seems to correspond with the comment which probably isn't what you want to do if using an external clock source connected to T0CKI.

    /Henrik.

  2. #2
    Join Date
    Mar 2014
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: external clock input to RC0/T1CKI on pic18f252 troubles

    oh is it i didn't know the forum wasn't a generic one.

    oh thats fine its timer1 that is configured for ext clk. timer 0 still needs internal to give my 1 second delay. thanks for the reply though!

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: external clock input to RC0/T1CKI on pic18f252 troubles

    Argh, I read the thread title several times and STILL T0CKI.... Must have made a mixup with RC0....
    Sorry about the confusion, good luck!

    /Henrik.

Similar Threads

  1. Shiftin with external Clock howto ?
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 21st September 2011, 17:45
  2. Shiftin with external Clock howto ?
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 27th February 2011, 10:40
  3. Data Out From External Clock
    By Quin in forum Serial
    Replies: 2
    Last Post: - 25th October 2008, 10:11
  4. external clock / internal clock
    By grounded in forum General
    Replies: 4
    Last Post: - 31st May 2008, 18:44
  5. External clock
    By Firegod in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2007, 01:53

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts