Forum >anyone used the wild thumper controller?
ArduinoGeneral

anyone used the wild thumper controller?

userHead bkrause 2013-04-03 20:24:58 2138 Views0 Replies
hi guys and gals , as the subject line suggests..

anyone used the wild thumper controller? more specifically im trying to map i/o pins in relation to the romeo mcu.. whilst utilizing the standard example code for motor control..

void advance(char a,char b) //Move forward
{
analogWrite (E1,a); //PWM Speed Control
digitalWrite(M1,HIGH);
analogWrite (E2,b);
digitalWrite(M2,HIGH);
}

////////////
Romeo...
/////int E1 = 5; //M1 Speed Control
/////int E2 = 6; //M2 Speed Control
/////int M1 = 4; //M1 Direction Control
/////int M2 = 7; //M1 Direction Control-


wild thumper....
//#define LmotorA 3 // Left motor H bridge, input A
//#define LmotorB 11 // Left motor H bridge, input B
//#define RmotorA 5 // Right motor H bridge, input A
//#define RmotorB 6 // Right motor H bridge, input B

E1 is speed control for M1.....soo in relation ...is E1, LmotorA or LmotorB??

for example can i cheat and do

int E1 = LmotorA ; //M1 Speed Control
int M1 = LmotorB; //M1 Direction Control
int E2 = RmotorA ; //M2 Speed Control
int M2 = RmotorB; //M1 Direction Control--..

thanks in advance if anyone understands what im trying to do and can offer any help..

bkrause