Saturday, November 10, 2007

[oopic] Problems with IDE / first time user

Hi, I have a OOPICII+ in a OObot-40II board. I am running the 5.x
IDE on a Win98 computer (so I can't run ver. 6). I have succesefully
loaded and ran a tone generating program via the serial and parallel
port methods. My problem is, that when I try to compile the code
below (lifted from OOPIC site) I get an error saying that basic
expects a class object--something to the effect that it does not know
what the object is. In this version, oLED should work, correct? Do I
have to tell the IDE something more about firmware? I have selected
the B.2.x+ in the target menu.

Trying to load:
'This program causes an LED on I/O
'Line 7 to change brightness.

Dim A As New oLED

Sub Main()
A.IOLine = 7
A.Operate = cvTrue
Do
ooPIC.Delay = 20
A.Brightness = A.Brightness + 1
Loop
End Sub

Jeff K. Burbank


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