the DIO object. I'm using the IOLine to control the
switching of the h-bridge since I could not find a
suitable object to drive the h-bridge that I
constructed.
What's the difference between DIO and IOLine objects?
Sorry for the inconvenience.
--- jasuk1970 <mail@jsun.me.uk> wrote:
> Hi,
> I'm trying to work out why you need IOLine. For
> me, I use:
>
> Dim line As New oDIO1
> line.IOLine = 1
> line.Direction = cvOutput
>
> If line.State = 1 Then
> ' Do Stuff
> End If
>
> Is there a specific reason that you need the oIOLine
> object?
>
> Jason
>
> --- In oopic@yahoogroups.com, alvin sy
> <alvinsy2000@...> wrote:
> >
> > 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@...> 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
> >
>
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
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