DS1904 RTC - How to Convert Binary Time into Real Time/Date?


Closed Thread
Results 1 to 8 of 8

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Yes it uses an array and does some oring and shifting.

    I really have not quite understood the logic behind it.

    A couple of days say Maxim for the AN to be approoved.

    Will see...

    Ioannis

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


    Did you find this post helpful? Yes | No

    Default

    Update from Maxim.

    Well, finally the counter is pure binary and user have to set a referene time stamp.

    So far OK. But how on earth can one calculate the date, months, leap years etc?

    If anyone interested in the details of the AN from Maxim, PM. Code examples are in assembly though.

    Ioannis

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