>
> >At 15:34 16/05/97 -0400, Francesco Cembrola wrote:
> >>I am a little confused on the purpuse of having the Data EEPROM.
> >>Can someone explain the use of it?
> >
> >let's say you have some data that you still want to have when the pic is
> >powered up the next time: how'd you do that? since it's some kind of
> >"online" data, you can't put it in the code prom (you don't know it when
> >programming it), and if you put it into ram, it's gone after power down. so
> >you put it into eeprom, and bingo -- you have a non volatile read- and
> >writeable memory.
> >
> >>Also can I have an exsample of how to write a value to the first location in
> >>the above memory and then read it back again?
>
> Which 'book' are you refering to below? And where might I find a copy of
> this book?
>
> >
>
>
http://ic.mankato.mn.us/~douglas
>
> >Page 11-31 ff. of the 96/97 data book shows how to do it, they even have a
> >code example there. (All theory, I'll have to check it by myself since I'm
> >going to use it, but only in a couple of days.)
> >
> >I thought of writing some sample code here, but it's really all there --
> >provided it works as written. For the first location you put 0 in EEADR and
> >your data in EEDATA, and then do as they say.
> >
> >