Shop OBEX P1 Docs P2 Docs Learn Events
Motor Mind C REV4 — Parallax Forums

Motor Mind C REV4

davidsdavids Posts: 64
edited 2005-05-16 14:12 in BASIC Stamp
The problem with this code is that doesn't work.· I have changed one line of the code in the datasheet." IF IN14 = 1" to " IF IN7 = 1 .· The result is that the MMC communicates, but it still only makes one motor move very very slowly.· If·I change· BTN_VAR =$00 to BTN_VAR = D!,D2,D3,D4,D5,D6 I can get the other motor turning slowly.

1)· Have I incorrectly used the DIP switches on the motor Mind carrier?
2) Has anyone got a similiar program that works?
3) Does this program work with REV3 and REV4?
4) What is this program really suppose to do?

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-05-16 14:12
    davids,

    ·· IN14 was designed in this code to monitor a momentary pushbutton.· You have changed it to the line you're using for serial communications (Serial data from MMC).· This is interfering with normal operations.· You should either change the IN7 back to IN14, or remove the code that monitors that line.

    ·· If you look at the routine that label jumps to, you will find to inputs are actually being checked.· Button commands are used for IN14 and IN15.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.