Tuesday, March 11, 2008

[oopic] Re: Struggling newbee question : ooPIC-R LEDs

--- 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.


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:

Post a Comment