RTC Clock - Resetting


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: RTC Clock - Resetting

    Gavin,

    Gosub gettime before settime. Then if year =00 then settime also remove the disableing line "Shiftout IO, SCLK, LSBFIRST, [$8e, 128] "

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: RTC Clock - Resetting

    Gavin, didn't we solve that issue?

    Ioannis

  3. #3
    Join Date
    Sep 2005
    Posts
    53


    Did you find this post helpful? Yes | No

    Default Re: RTC Clock - Resetting

    Yes we did, I was seeing if I could do a "one time" programming instead of 2, the rest is working 100%

    Regards,

    Gavin

  4. #4
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: RTC Clock - Resetting

    Quote Originally Posted by gavo View Post
    Yes we did, I was seeing if I could do a "one time" programming instead of 2, the rest is working 100%

    Regards,

    Gavin
    Is the one time programing working?
    Need more help?

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: RTC Clock - Resetting

    Steve gave you the idea. Check the default of the DS1302 and then decide to setup or continue the normal program flow.

    Ioannis

Similar Threads

  1. Resetting a timer in VB6
    By Bruce in forum Off Topic
    Replies: 11
    Last Post: - 26th December 2013, 20:02
  2. PIC18F2220 I2C resetting
    By cpayne in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th October 2010, 23:09
  3. PIC keeps resetting when executing subroutine
    By jbirnsch in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 27th August 2009, 07:03
  4. PIC chip resetting. Very weird
    By The Master in forum Off Topic
    Replies: 0
    Last Post: - 28th October 2007, 17:07
  5. Pic resetting
    By malc-c in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st January 2007, 21:00

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