Conversion problem


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762

    Default Conversion problem

    I would like to use a 1Wire RTC-Chip on one of my projects.

    The real-time clock is a 5-Byte binary counter.
    It is incremented 256 times per second.
    The least significant Byte is a count of fractional seconds.
    The upper 4 Bytes are a count of seconds.

    Time/date is represented by the number of seconds since a reference point,
    which is determined by the user.
    For example, 12:00 A.M., January 1, 2000 could be a reference point.

    I don't need the count of fractional seconds, so the least significant byte can be ignored.

    Do you have some hints how to convert the binary reading to date and time (and back)
    using the integer brain of a PIC?

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Does really nonone have any ideas to solve this ?

Similar Threads

  1. A/D conversion problem in 18F2520, 2523, 2550 etc.
    By selimkara in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 16:26
  2. A/D conversion problem on 18F4431
    By ttease in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th April 2007, 23:03
  3. Conversion Problem
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th March 2007, 12:09
  4. Conversion problem
    By eva in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th March 2007, 18:21
  5. A/D conversion problem with pic16F88
    By Tapio Linkosalo in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 18th August 2006, 11:42

Members who have read this thread : 1

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