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.

Wednesday, August 22, 2007

Re: [oopic] Conserving bytes

You've run into the lesson that we all do eventually - That is that
these little embedded processors cannot do everything. Eventually you
will have to specialize a bit. You have chosen some pretty precise
controls, which take up space. Just turning on motors comes easy, but
doesn't do all that you want. You may want to consider pairing another
ooPIC in to handle different functions.

DLC

red71956 wrote:
> Hi gang
> I'm having trouble figuring out how to maximize the use of the limited
> RAM on an OoPic R.
> For instance, 2 DC motors and 2 servos (pan and tilt) and one LCD takes
> 47 bytes (L + R oDCMotor 5 bytes each, 2 oA2DX for turn and speed 5
> bytes each, 2 oRamp at 7 bytes each, 2 servos at 4 bytes each, 1 LCDSE
> at 5 bytes)
> Is there a more efficient way to do this?
> Adding in 1 or more oIRRange objects, a oSerialX, a oWire or two, and a
> few misc. oBytes brings the total perilously close to the 'magic 86'.
> Is using the EEPROM a potential solution? And what is the best use for
> the EEPROM? I picked up a 256K EEPROM and want to use it for maximum
> effect, but what exactly is THAT?
>
> Also, what is the best use of Virtual Circuits? I think I get the
> concept, but using it efficiently eludes me.
>
> Thanx in advance,
> Red
>
>
>
>
> 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: