DS1307 - How to store Decimal Value & how to convert back to BCD?


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    If it's just for display purpose, use LCDOUT modifiers such as DEC, HEX and see what happen.

    There's a couple of example in here about how to convert BCD in Decimal. Look at this one
    http://www.picbasic.co.uk/forum/showthread.php?t=852

    and this
    http://melabs.com/resources/samples/...ted/mn1307.txt
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    ___________________
    WHY things get boring when they work just fine?

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