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, September 10, 2007

[oopic] Re: strange oLED operation, VB.net commands to SCP

--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>
> --- In oopic@yahoogroups.com, "dan michaels" <oric_dan@> wrote:
> >
> > --- In oopic@yahoogroups.com, "dan" <dan_ruggirello@> wrote:
> > >
> >
> >
> > I don't understand why people mess with SCP when all you have to
do
> > is write a simple ASCII interface for the oopic. Which is easier,
> > trying to decipher this "\0V42J144H36L03N", or this oopic code,
by
>
> Of course the OOPic has to execute code to interpret the ASCII and
the
> serial port needs to be serviced often to prevent overrun.


That's why you put in the following line ....

if (com1.received=1) then
..........


All this
> while still dealing with whatever other code is required.
>
> I think there are tradeoffs in either approach. Intuitively, I like
> the ASCII commands because they are simple and easy to decipher.
But
> I like the SCP approach because it all happens in the background
and I
> don't have to provide code. But, then again, it looks a lot like
> magic and maybe that is a difficult thing to debug. Always
tradeoffs...
>


To me, SCP looks too much like machine code = next level below
assembler.


> One thing I have never seen discussed: can the OOPic keep up with
SCP
> at 9600 baud on a long term basis? Things like a PC continually
> checking the status of a flag? Clearly the interpreter is dealing
> with SCP but how fast can it go and still process the object loop?
>
> Some day I'll have to do a little testing.
>
> Richard
>



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: