>
> SO anyone knows whats is wrong with the Iopack specifications? i
> specified iopack 5 but it would not work. Other IOPacks also do not
> apply
I have no idea what is wrong but I can't get it to work under V6
either. It does work with V5 as:
Dim A As New oStepper
Dim B As New oStepper
Sub Main()
A.IOGroup = 1
A.Nibble = 0
B.IOGroup = 1
B.Nibble = 1
A.Rate = 100
B.Rate = 100
A.Operate = 1
B.Operate = 1
Do
A.Value = 100
B.Value = 30
Wait Until A.NonZero = 0
Wait Until B.NonZero = 0
'ooPIC.Delay = 1000
A.Value = -100
B.Value = -30
Wait Until A.NonZero = 0
Wait Until B.NonZero = 0
'ooPIC.Delay = 1000
Loop
End Sub
I changed the rates (short attention span) and commented out the
delays.
If you are using an older chip (< C.1.1) then use V5. If you have
the newest chip, you have a problem. Perhaps someone else can get it
to work.
Richard
------------------------------------
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