PBP and storing variables


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    409

    Default PBP and storing variables

    If we measure or count things and store the answer in a variable, does that variable exist in RAM or program store flash? It strikes me that any PIC application that is alway on (thermostats, clocks, weather stations, 100's more) would likely easily reach the limit of flash re-writes in the first year if it's in program store (flash). Should we all be writing our code to put all variables in RAM, or does PBP already do this for us?

  2. #2
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Re: PBP and storing variables

    All variables, answers, values and such are only stored in the RAM unless you use PBP functions to write (writecode) them into the codespace.

Members who have read this thread : 2

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