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, January 23, 2008

Re: [oopic] Re: firmware B 2.2+ Pin, Port, State and Direction properties for IOline object

Thanks for your reply. I think there is a
misunderstanding.

The B.2.2+ firmware does not support the Direction
property of the IOLine object. I wanted to know if
there is an equivalent property since the Direction
property is introduced in C.1 onwards.

Our code is like this:
Dim line As New oIOLine
line.IOLine = 1;
line.Direction = cvOutput;

In the last line, the OOPic6 Compiler outputs an error
when I compile the whole code.

The error looks like this:

Version Incompatibility - 'Direction' requires
firmware version vC1f

Thanks again.

--- rtstofer <rstofer@pacbell.net> wrote:

> --- In oopic@yahoogroups.com, "alvinsy2000"
> <alvinsy2000@...> wrote:
> >
> > Hi, i just wanted to ask if what's the
> corresponding property
> > for IOline object for firmware B 2.2+ since Pin,
> Port, State and
> > Direction properties were just introduced in
> firmware C1+ and not
> > supported in firmware B2.2+. Thanks!
> >
>
> In B2.2+ and earlier versions, a digital object is
> declared like
>
> DIM MyIO as new oDIO
>
> Then it is initialized like
>
> MyIO.IOLine = 7
> MyIO.Direction = cvOutput
>
> The mapping of IOLine to connector pin is available
> on the web site
> www.oopic.com -> Manual -> Connectors and Mechanical
> -> <Click on the
> appropriate module> -> <select the appropriate
> connector>
>
> Mapping to the chip pin is shown on the schematic.
>
> Richard
>
>
>

____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.

http://tools.search.yahoo.com/newsearch/category.php?category=shopping


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: