Sign in

username or email:

password:



Not a member?
Forgot your Password?

Search piclist



Search tips

Subscribe to piclist





Sponsor

Discussion Groups

See Also

DSPFPGA

Discussion Groups | Piclist | 16f819 memory question

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.


Is this thread worth a thumbs up?

0

16f819 memory question - meriachee - Apr 5 23:21:57 2006

I've been reading the datasheet and the instruction set from the
PicBasic Pro book, and cannot figure out how to write variables to
memory and read variables from memory.

All I am trying to do is store a variable, and have that non-volatile.

Does anybody have any experience doing this?





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: 16f819 memory question - JCullins - Apr 6 9:38:07 2006

Use the write command.
ADDRESS VAR BYTE
VALUE VAR BYTE
TEMP VAR BYTE

ADDRESS = 1
VALUE = 50
WRITE ADRESS,VALUE ' save value to EEPROM
READ ADDRESS,TEMP ' read it back to TEMP

Jim
----- Original Message -----
From: meriachee
To: p...
Sent: Wednesday, April 05, 2006 10:20 PM
Subject: [piclist] 16f819 memory question
I've been reading the datasheet and the instruction set from the
PicBasic Pro book, and cannot figure out how to write variables to
memory and read variables from memory.

All I am trying to do is store a variable, and have that non-volatile.

Does anybody have any experience doing this?



SPONSORED LINKS Microcontroller Microprocessor Microchip pic
Microcontrollers Picmicro 8051 microprocessor
------
YAHOO! GROUPS LINKS

a..
------
This message has been processed by Firetrust Benign.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )