Change high and low values
这个提交存在于:
父节点
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);
|
||||
}
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用