12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I'm on it, tricky in parts but I'm on it

    How many EEPROM locations are there on a PIC16F684?

    As in:

    Code:
    EEPROM location 5
    Dave

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I think the 684 only has 256, if I remember correctly.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Is that sequential 0-255?

    Srub that, it's got to be I'm thinking.

    See you tomorrow.

    Dave
    Last edited by LEDave; - 5th May 2010 at 01:52.

  4. #4
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit,

    I'm busy working on the latest 'mission'. I'll stick at it and only ask a question when I'm stuck and have given it a good go to figure it out myself.

    I do have one quick question though:

    Can you add or subtract EEPROM memory location values (numbers written to an EEPROM address)? Or do you just give the stored WORD's a name and then subtract the two, something like: Parts_Run = Total - First_Parts_run (if this make sense).

    Dave

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    While the value is in the EEPROM you can not go anything with it. You have to read the value into a variable, do something with it and write it back into the EEPROM.

    I think that is what you are asking...
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I think that is what you are asking...
    Spot on.

    Dave

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I can almost hear mackrackit tapping his fingers on the table............!

    Working really hard on this, I know what I want to do, I just need a breakthrough. At the moment I'm going around in circles.

    I'll see what I can come up with tonight.


    Tap, tap, tap...Stop it mackrackit...lol.

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