EEPROM Memory


Closed Thread
Results 1 to 4 of 4

Thread: EEPROM Memory

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Just tried that, didn't seem to make much difference...It toggled a bit smoother though.

    My guess is somehow the program is causing the EEPROM value to switch at startup or shutdown. No clue how though.

    Thank you,
    Matt

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Have you tried switching this;
    Code:
    SWITCH:
    IF setting=1 THEN 'if setting is 1, write 2 to EEPROM
    WRITE 1,%00000010
    ENDIF
    IF setting=2 THEN 'if setting is 2, write 1 to EEPROM
    WRITE 1,%00000001
    ENDIF
    To this;
    Code:
    SWITCH:
    IF setting=1 THEN 'if setting is 1, write 1 to EEPROM
    WRITE 1,%00000001
    ENDIF
    IF setting=2 THEN 'if setting is 2, write 2 to EEPROM
    WRITE 1,%00000010
    ENDIF
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  3. Replies: 4
    Last Post: - 2nd March 2007, 06:12
  4. 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
  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 : 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