internal eeprom in pic16F628


Closed Thread
Results 1 to 4 of 4
  1. #1
    Pedro Pinto's Avatar
    Pedro Pinto Guest

    Default internal eeprom in pic16F628

    Hello

    How can I read and write in the internal Eeprom from the Pic16F628 device?

    Thanks

    Pedro

  2. #2
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Post

    Look in the PBP manual for the DATA, READ, and WRITE commands.

  3. #3
    Pedro Pinto's Avatar
    Pedro Pinto Guest


    Did you find this post helpful? Yes | No

    Default internal eeprom

    Hello

    Thank You

    Pedro

  4. #4
    Join Date
    Nov 2005
    Location
    US
    Posts
    4


    Did you find this post helpful? Yes | No

    Talking Reading and Writing to EEPROM

    Follow this program which is functional -

    CntRec VaR Byte ' Value to store in EEPROM
    Loc1 CON 0 ' Memory location of EEPROM to store data

    ' CntRec is stored in EEPROM from previous writes
    Read Loc1, CntRec ' Read EEPROM Location "Loc1" store in "CntRec"
    .
    .
    .
    CntRec = CntRec + 1

    WRITE Loc1,CntRec ' updates CntRec in EEPROM

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. Internal eeprom - erase block
    By ruijc in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 13th February 2008, 11:11
  3. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  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. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

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