DFRobot ROB0117 Краткое руководство по эксплуатации - Страница 4

Просмотреть онлайн или скачать pdf Краткое руководство по эксплуатации для Микроконтроллеры DFRobot ROB0117. DFRobot ROB0117 13 страниц. Basic kit for cherokey 4wd

2015/11/4
}
void carAdvance(int leftSpeed,int rightSpeed){
analogWrite (speedPin_M2,leftSpeed);
digitalWrite(directionPin_M1,LOW);
analogWrite (speedPin_M1,rightSpeed);
digitalWrite(directionPin_M2,LOW);
}
void carTurnLeft(int leftSpeed,int rightSpeed){
analogWrite (speedPin_M2,leftSpeed);
digitalWrite(directionPin_M1,LOW);
analogWrite (speedPin_M1,rightSpeed);
digitalWrite(directionPin_M2,HIGH);
}
void carTurnRight(int leftSpeed,int rightSpeed){
analogWrite (speedPin_M2,leftSpeed);
digitalWrite(directionPin_M1,HIGH);
analogWrite (speedPin_M1,rightSpeed);
digitalWrite(directionPin_M2,LOW);
}
===STEP 3: Fit Battery===
STEP3:Install Cherokey expansion plate
https://www.dfrobot.com/wiki/index.php?title=Basic_Kit_for_Cherokey_4WD_SKU:ROB0117
Basic Kit for Cherokey 4WD SKU:ROB0117 - Robot Wiki
//Move forward
//Turn Left
//Turn Right
4/13