8583 rtc date problem


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    973


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by crazyhellos View Post
    Hai jerson,

    Thanks for your repley. I'm sorry, but I dont still get it how I must do it.
    CrazyHellos

    The address I have used for the RTC is $A2 because the pin 3 is tied to Vcc in my board. gr[0] is a register I have defined in my program; you may rename it to whatever you like.

    Rest of the program is self explaining if you refer the datasheet for the RTC. However, you must remember, all registers of the RTC are in BCD format. Not binary. So, a month of 12 (december) should be entered as $12 or decimal(18). Maybe this is where you have the problem.

    Regarding sharing my code, I have already shared the relevant part. Beyond this, I am sorry, you will have to work it out. The joy you get when your own code works will be something you will cherish.
    Jerson

  2. #2


    Did you find this post helpful? Yes | No

    Default

    thanks for your explenation about your code, its more clear to me now. I'm going
    to workt on it and if I have dont it i wil let you know, thanks

Similar Threads

  1. PIC 16F877 I2C communications
    By sigmoideng in forum General
    Replies: 7
    Last Post: - 13th July 2007, 11:28
  2. X1226 RTC - Help
    By charudatt in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th August 2006, 18:54
  3. RTC Problem
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th March 2006, 06:13
  4. Pcf 8583
    By srspinho in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th February 2006, 20:41
  5. RTC date problem
    By Peder in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th January 2006, 13:33

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