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


Results 1 to 5 of 5

Threaded View

  1. #2
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

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

    They say the first sign of madness is talking to yourself....

    ok, seek and you shall find as the saying goes, and it should be no surprise that DT has a hand in the solution...

    http://www.picbasic.co.uk/forum/showthread.php?t=2444

    ok, out the blocks I'm getting an error (this'll be the plea for help bit!)

    Code:
    pattern var byte
    @  EE_var  _pattern, byte, 1  ; Link an EE variable to it.
    (the variable I want to track & store has the name 'pattern')

    gives a compilation error....

    "Symbol not previously defined (byte)" for it seems the following bolded asm line....

    Code:
    EE_assign  macro   Name , Value, Size               
      local Assign_Done
      nolist
        if ((EE_PTR + Size) >= EEPROM_SIZE )      list
            error "EEPROM is Full, Could not Fit", Name
        endif
    Any ideas?

    The PIC I'm using is a PIC16f1824
    Last edited by HankMcSpank; - 28th March 2011 at 00:10.

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