real time clock


Closed Thread
Results 1 to 40 of 45

Thread: real time clock

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: real time clock

    I know this is old thread but have a need fro RTC and its using the ds1302

    i did have a quick question in relation to how the I/O port is set on the PIC for I/O the interface to the DS1302 , in that the sample code does not change TRIS bits on the PIC from an output to an input for when it doing a read ( shiftin command ) of the DS1302 -

    does issuing the shiftin command automatically change the tris bits for that port to allow input ???
    cheers

    Sheldon

  2. #2
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: real time clock

    Hello longpole, i've been reading the thread today and some others about 1302 and i think shiftin and shiftout does all the work with tris and with clk. Just send the right registers for reading/writing and u should be fine.

Similar Threads

  1. Real Time Clock
    By in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd June 2012, 04:52
  2. real time clock - PCF8583
    By maria in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 15th April 2010, 15:41
  3. Real time clock ICs
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 66
    Last Post: - 20th October 2008, 16:05
  4. Real Time Clock
    By savnik in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th December 2006, 02:02
  5. Real time clock... what a headache!
    By Eng4444 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 8th June 2006, 21:56

Members who have read this thread : 4

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