included sample programs. This is the way it finally broke through my
rock.
I will take a stab at the laymans terms part.
An object is simply a program that only knows how to interact with a
specific piece of hardware such as an LMD18200 motor driver IC. The
oDCMoter object knows everything it needs to know about the driver but
does not know what you want it to do. For that, the oDCMotor object has
Properties that you use to tell the object What you want it to do, Where
it is connected, When and How you want it to do something. Once you have
told it What,Where,When and How and start your program that object
begins running. Objects run in the background and will continue to run
exactly as created until you do something to change a property, such as
SPEED in the case of oDCMotor. Many objects can be running at the same
time just waiting for something to change a property. If you had a
oIRPD1 object running a the same time as a oDCMotor object you could
write your code to have one object affect another. If the IR saw
something and your bot was cruising along happily you could change it's
direction with a simple script, there is no need to rewrite all the code
to make a motor go, thats the objects job. IF oIRPD1.VALUE = 1 THEN
oDCMotor.DIRECTION=0
Ted
--- In oopic@yahoogroups.com, "bronwyn_3120" <Bronwyn3120@...> wrote:
>
> I went to the website www.oopic.com to have a better understanding of
> what it does. Is there anyone who could explain what they were saying
> in laymans term (see bottom paragraph)? This is my first time using
> the Oopic microcontroller. I would really appreciate any kind of help
> anyone is willing to give. Thank you =]
>
>
>
>
> OOPic is an acronym for Object-Oriented PIC
> The first PICmicro operating system to use an Object-Oriented
> approach to hardware control.
>
> 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. Every aspect of the Objects can be controlled by
> the scripts as the Object do their work with the hardware. The OOPic
> Object library contains Object that know how to interact with the
> most popular sensors and drive systems around which make the OOPic
> ideally suited for robotics of any kind.
>
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:
No comments:
Post a Comment