PDA

View Full Version : Motor Mind C REV4



davids
05-16-2005, 01:29 PM
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?

Chris Savage
05-16-2005, 09:12 PM
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 (mailto:csavage@parallax.com)