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.

Friday, February 29, 2008

Re: [oopic] SCP accessing variables in RAM getting garbage

Doug

It would seem that the banks as described in the manual are differently
denoted to that as shown in the information window.

i.e. in the info window...Bank 0 = Bank 0 & 1 in the documentation
in the info window...Bank 1 = Bank 2 & 3 in the documentation

Confusing to say the least.

Think of it this way:

Bank 0 Area A = Bank 0 in the documentation
Bank 0 Area I = Bank 1 in the documentation
Bank 1 Area V = Bank 3 in the documentation
Bank 1 Area F = Bank 4 in the documentation

With that in mind try the following:

firstbyte - send: \0105J144H128LM

secondbyte - send: \0106J144H128LM

thirdByte - send: \0107J144H128LM

firstWord - send: \0108J145H128LM ....you will get a return of
3412m Note the order in which the bytes are returned.

secondWord - send: \0110J145H128LM ....you will get a return of
CDABm Note the order in which the bytes are returned.

Regards

Ian



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: