Writing to non-volatile memory?[stares into space]


Results 1 to 5 of 5

Threaded View

  1. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I should probably mention that you can do the same thing with ...
    Code:
    pattern  var byte : EE_pattern DATA 1             : READ EE_pattern, pattern
    MyWord   var WORD : EE_MyWord  DATA WORD 12345    : READ EE_MyWord, WORD MyWord
    MyLong   var LONG : EE_MyLong  DATA LONG 123456789: READ EE_MyLong, LONG MyLong
    
    ; to save the variables to EEPROM ...
    WRITE EE_pattern, pattern
    WRITE EE_MyWord, WORD MyWord
    WRITE EE_MyLong, LONG MyLong
    No include needed.
    The only difference is that you can't restore to the original "default" value like EE_vars.

    This stuff wasn't available in 2005
    Last edited by Darrel Taylor; - 28th March 2011 at 04:12. Reason: added LONGs
    DT

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