Shop OBEX P1 Docs P2 Docs Learn Events
Please Help — Parallax Forums

Please Help

Andy BAndy B Posts: 17
edited 2006-07-13 01:00 in BASIC Stamp
Hi All.
I have just purchased a L298 Motor Control and two Tamiya Worm Drive Gear Box.
I am Using a Basic Stamp2 SX.

On reading Much on the Internet as regards to these i gather i have to Use the PWM Command?
4 pins on the L298 controls Direction, by making that pin LOW, I cannot for the life of Me figure out how i need to Write the·code to make the motor work ( go forward etc. )using the PWM command.
also the speed is controlled by the Frequency?

Any code idea's or help would be greatly apreciated.

Andy B

·

Comments

  • FranklinFranklin Posts: 4,747
    edited 2006-07-13 01:00
    This might help.
    www.st.com/stonline/products/literature/ds/1773.pdf it looks like you can use the stamp to set the enable input and direction of the outputs. write some code down as to what you want to do and psudocode for the things you don't know.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.