EEPROM vs DATA


Results 1 to 6 of 6

Thread: EEPROM vs DATA

Threaded View

  1. #4
    Join Date
    Sep 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Smile

    Thanks scalerobotics

    You mean that we can store variables -live data- by EEPROM, aren't you?

    However, explanation given by Melabs says that:

    Store constants in on-chip EEPROM. If the optional Location value is omitted, the first EEPROM statement starts storing at address 0 and subsequent statements store at the following locations. If the Location value is specified, it denotes the starting location where these values are stored. Constant can be a numeric constant or a string constant. Only the least significant byte of numeric values are stored. Strings are stored as consecutive bytes of ASCII values. No length or terminator is automatically added.
    I understood that we can't store variables. If we want, we have to use WRITE.

    Thanks

    Edit: While I was writing, Melanie sent a reply.

    Thanks Melanie,

    Combatability seems to be logical reason. Can we say that we can use either of them without hesitation?

    Some examples are given by Melabs on http://www.melabs.com/resources/pbpmanual/

    Examples of DATA seem to be more complex than EEPROM. For example, you can skip some location while storing. But, there isn't such an example in EEPROM.

    Thanks
    Last edited by 90alper90; - 9th July 2009 at 10:51. Reason: Add Something

Similar Threads

  1. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  2. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  3. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  4. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 19:42
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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