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 9, 2008

[oopic] Oclock object cannot use wtih OFanout Object

Dear Sir,

I write the following program by oopic complier Ver6 and I success
to download this program to my hardware.
However, I try to downlaod it again by another XP computer, It
cannot seccess.

*********************************************************************
'ooPIC Version: ooPIC R B2.2

The oClock Object generates specific clock rate To LED-1 & LED-2
interface by oFanOut2

' *********** ************** ------> LED-1
' *Oclock(a)*----->*OFanout2 (w)*
' *********** ************** ------> LED-2


Dim W As New oFanOut2
Dim LED_1 As New oDIO1
Dim LED_2 As New oDIO1
Dim a As New oClock

Sub Main()

LED_1.IOLine = 6
LED_1.Direction = cvOutput
LED_2.IOLine = 5
LED_2.Direction = cvOutput


a.Rate = 200
W.Input.Link(a)
a.Operate = cvTrue


W.Output1.Link(LED_2)
W.Output2.Link(LED_1)
W.Operate = cvTrue


End Sub
*********************************************************************

Could you kindly reply my problem?

Thank you for your concern

Michael


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: