program of Melanie


Results 1 to 6 of 6

Threaded View

  1. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    The data are stored in external EEPROM.
    But when I reread the eeprom hour, minute and second
    Are written in hexadecimal, while others are in decimal.
    Should he make the conversion before saving?
    Whatever format you will use data in eeprom will be saved in binary format!

    17 = $11 will be saved as %00010001
    26 = $1A will be saved as %00011010
    9 = $9 will be saved as %00001001
    0 = $0 will be saved as %00000000

    number from 0 to 9 are the same in both format decimal and hex.

    Al.
    Last edited by aratti; - 28th October 2009 at 18:08.
    All progress began with an idea

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  3. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 14:30

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