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, November 25, 2007

[oopic] Re: H-Bridge issue...maybe.

I'm assuming you are using code that is IDENTICAL to that given for
the oDCMotor2 for your testing.

The other thing you can do is dump the oDCMotor2 object and control
the enable line directly. That would be whatever pin you used for
IOLineP - either IOLine 17 or IOLine 18.

For the other two control lines (pins 4A and 3A of the chip), you can
wiggle a couple of other IOLines. One high, other low will result in
one direction. Swap the high/low states to get the other direction.
Both signals high or both signals low results in braking. Removing
the enable signal results in coasting.

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:

http://docs.yahoo.com/info/terms/

No comments: