This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Monday, December 10, 2007

Re: [oopic] Data storage & data access in EEPROM

In your program if you use the oEEPROM.data method to store something it
will automatically pick the first empty location in EEPROM to put it.
This is a good way to find out where that first location actually is,
and since you can do this _in_ the program and record that address, it
will guarantee that you will never overwrite your program.

Just put something into EEPROM using the .data method (this is a static
method rather like a BASIC data statement. Then read the .location
property and that will be the first available data byte.

DLC

mora_sutha wrote:

>Hello,
> I want to store some data in the EEPROM & access it in my
>program. But I don't know how much memory I can use Or from which
>address I can use for this. That means, Since the program also stored
>here, I know that I should be careful about handling it.
> So can you tell how i can find the memory needed by the program?
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: