-
Storing Data - 16f690
I'm new to all this, a couple of questions.
Using a 16f690 is it possible to store data to the program location so that it remains there and can be read back after a power cycle ?
Also can someone point me to where I can find what the Device Declaration statements mean. I have looked on the datasheets but it's not exactly plain english to me.
Example -
@device pic16F690, intrc_osc_noclkout, BOD_OFF, PWRT_OFF, wdt_off,mclr_off,
' protect_off
Cheers
Adam
-
In some case yes, but it's way more convenient/standard to use the internal EEPROM with READ/WRITE.
-
Is it possible to permenantly store data using the write command, even after a power cycle, if so how ?
Cheers
Adam
-
Told you I was new to this.
I actually had the code correct but beacuse my test board is connected to the low count demo board and the PICkit2 programmer, it doesn't keep the saved eeprom values after a power cycle.
Running it on a 3v battery instead of the PICkit2 usb power, it works as it should when using the Read and Write commands as you suggested.
Cheers
Adam