mirror of
https://github.com/brmlab/lasic.git
synced 2025-06-09 09:43:59 +02:00
Sketch: Use linebtr() instead of line()
This commit is contained in:
parent
990f27d126
commit
2741f9da45
1 changed files with 3 additions and 3 deletions
|
@ -277,7 +277,7 @@ void ExeCmd(char *InCmd){
|
||||||
|
|
||||||
stepperX.setSpeed(MotorSpeed);
|
stepperX.setSpeed(MotorSpeed);
|
||||||
stepperY.setSpeed(MotorSpeed);
|
stepperY.setSpeed(MotorSpeed);
|
||||||
line(posX, posY, toX, toY);
|
linebtr(posX, posY, toX, toY);
|
||||||
Serial.println(SeqID, DEC);
|
Serial.println(SeqID, DEC);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -366,8 +366,8 @@ void linebtr(int x1, int y1, int x2, int y2)
|
||||||
|
|
||||||
posX = x1;
|
posX = x1;
|
||||||
posY = y1;
|
posY = y1;
|
||||||
Serial.println(posX, DEC);
|
//Serial.println(posX, DEC);
|
||||||
Serial.println(posY, DEC);
|
//Serial.println(posY, DEC);
|
||||||
}
|
}
|
||||||
|
|
||||||
void XYReset(){
|
void XYReset(){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue