Micro Dual Serial Motor Controller SMC02B

Hey,
I have succesfully got this motor controller working for a 1 amp situation in single motor mode(on 0 motor mode). However, I am getting a new motor which will require 2 amps. How do i get the additional amp. I looked at the booklet to get instructions. However, when i measure the voltage and current from the two pins not currently hooked up to the motor i get 0. Is there something I have to code. Or is there something wrong with the product? Here is the code I used below. I found it online and dont fully understand it. All i know is that it only seems to work for motor 0 and not motor 1.

void InitMotor()
{

     pinMode(txPin, OUTPUT);// Serial Transmit Pin
     pinMode(resetPin, OUTPUT);	// Motor Reset Pin

     motorSerial.begin(9600);

    // Reset the motor controller (By setting low then high signals to the resetPin)
     digitalWrite(resetPin, HIGH);	
     delay(10);
     digitalWrite(resetPin, LOW);
     delay(10);
     digitalWrite(resetPin, HIGH);
     delay(10);
}
 
void SetMotor(int speed)
{
     int motorIndex=0;
     unsigned char buffer[4];// Create the packet buffer
     unsigned char index = 0;
     unsigned char targetSpeed = speed;
     
     buffer[0] = 0x80;
     buffer[1] = 0x00;
     buffer[2] = 0x00 | index;
     buffer[3] = targetSpeed;
	
     SendPacket(buffer, 4);
}
 
void SendPacket(unsigned char *buffer, int bufferCount)
{

     for(int i = 0; i < bufferCount; i++)
       {

	    motorSerial.print(char(buffer[i]));

       }
    
}

In single motor mode, you should be able to connect a small motor to either set of outputs and get it to respond. If that’s not happening, you probably don’t have the motor controller set up in single-motor mode. What happens when you send commands to motor 1?

Also, why did you start another thread for this?

- Jan