Real time clock


Results 1 to 9 of 9

Thread: Real time clock

Threaded View

  1. #6
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Real time clock

    No, you don't need to remap the pins. It is a dual example. He show both " so I'm posting a simple example here showing how to use the RTCC, and how to assign PWM to several pins."

    For you, you can just look at the RTC part.

    From the data sheet under RTCC
    • Requirements: external 32.768 kHz clock crystal
    Code:
      ' Connect a 32.768 kHz watch crystal between pins 11 & 12 T1CKI & T1OSI
      ' with caps to match your crystal load capacitance.
      ' 11        12
      '  |---||---|
      '  |  xtal  |
      ' _|_      _|_
      ' ___      ___  2 x 12pF caps
      '  |        |
      ' gnd      gnd
    Last edited by ScaleRobotics; - 8th February 2011 at 15:19.

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