Change high and low values
This commit is contained in:
부모
6163744cc9
커밋
9436b73651
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
|
@ -86,8 +86,8 @@ void loop() {
|
|||
}
|
||||
void forward_brake(int posa, int posb) {
|
||||
//set the appropriate values for aphase and bphase so that the robot goes straight
|
||||
digitalWrite(aphase, LOW);
|
||||
digitalWrite(bphase, HIGH);
|
||||
digitalWrite(aphase, HIGH);
|
||||
digitalWrite(bphase, LOW );
|
||||
analogWrite(aenbl, posa);
|
||||
analogWrite(benbl, posb);
|
||||
}
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue