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.

Sunday, April 13, 2008

Re: [oopic] Re: Wrong IOpack for Stepper Motor?

Scott has tested this program on both B2.2+ and C1.1+ and it works.
I'll get more details on his configuration - Is there something that you
are doing on the IOline 12-15 that you aren't on the other four IOlines,
or vice-versa? Is your V.6 the most recent release from the web site?

DLC

minghui1984 wrote:
> --- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>
>> --- In oopic@yahoogroups.com, Ian Drennan <ianid@> wrote:
>>
>>> minghui1984 wrote:
>>>
>>>> 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
>>>>
>>>> Minghui
>>>> --- In oopic@yahoogroups.com, "minghui1984" <minghui1984@>
>>>>
> wrote:
>
>>>>
>>>>
>>>>> Dim A As New oStepper
>>>>> Dim B As New oStepper
>>>>>
>>>>>
>>>>> Sub Main()
>>>>>
>>>>> A.IOPack = 1
>>>>> B.IOPack = 5
>>>>> A.Rate = 10
>>>>> B.Rate = 10
>>>>> A.Operate = 1
>>>>> B.Operate = 1
>>>>> Do
>>>>> A.Distance = 100
>>>>> B.Distance = 30
>>>>> Wait Until A.NonZero = 0
>>>>> Wait Until B.NonZero = 0
>>>>> ooPIC.Delay = 1000
>>>>> A.Distance = -100
>>>>> B.Distance = -30
>>>>> Wait Until A.NonZero = 0
>>>>> Wait Until B.NonZero = 0
>>>>> ooPIC.Delay = 1000
>>>>> Loop
>>>>>
>>>>> End Sub
>>>>>
>>>>>
>>>>>
>>> Minghui
>>>
>>> I have just checked your code on my Oopic B 2.2+ chip on a S
>>>
> board and
>
>>> it is working as expected.
>>>
>> With which compiler? I tried V6 and it didn't seem to work. It
>>
> does
>
>> work with V5 and B.2.2+.
>>
>> Richard
>>
>>
> my chip is C.1.1 and i am using V6... would the C.1.1 chip work with
> the V5?
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


------------------------------------

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: