View Full Version : PBP and storing variables

- 28th January 2012, 11:40
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?

- 28th January 2012, 12:10
All variables, answers, values and such are only stored in the RAM unless you use PBP functions to write (writecode) them into the codespace.