>
> --- In oopic@yahoogroups.com, "design.wonk" <design.wonk@> wrote:
> >
> > I am sorry if the answer to this question is painfully obvious, but
> > this is my second day with an ooPIC-R (vC1+, with 6.1 compiler). I
> > have been able to successfully download a program that makes the
> > speaker beep (the ooPIC version of "Hello world"). I would like to
> > try to light the on-board LEDs, but everything I have tried has not
> > worked. I am not even sure if I am using the right object (oLED).
> > Can someone show me an example of how this is done or point me to an
> > ooPIC-R specific example. The board came pre-loaded with a program
> > that lit the lights in sequence when it was powered up, but this was
> > erased when I download my first program - I would love to see this
> > code if it is out there.
> >
> > thanks for the help
> >
>
> Why not try the sample code from the online documentation of the oLED
> object? See www.oopic.com -> Manual -> Objects -> oLED. Use the
> Visual Basic Syntax as a first attempt.
>
> Or look through the sample code that got downloaded with the IDE.
>
> Not coincidentally, the code uses IOLine 7 which, on the R board,
> turns out to be the green LED.
>
I will give it a try today. One of the things that I have been having
some problems with is the documentation. There are properties and
methods that are visible in the object browser that are not documented
in the on-line manual. For example, the oLED object had an init
(among others) method that is not documented. Often it also seems
that the range of the arguments of these undocumented methods are also
not defined. Can these methods and propertied be used or are they
protected?
-Ray
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