mirror of
https://github.com/euphy/polargraphcontroller
synced 2025-01-10 04:05:15 +01:00
Added termination char to serial writer.
Also version increment.
This commit is contained in:
parent
95b569b1a5
commit
a3efbd9cdb
@ -51,7 +51,7 @@ import java.awt.event.KeyEvent;
|
|||||||
import java.awt.event.*;
|
import java.awt.event.*;
|
||||||
|
|
||||||
int majorVersionNo = 1;
|
int majorVersionNo = 1;
|
||||||
int minorVersionNo = 9;
|
int minorVersionNo = 10;
|
||||||
int buildNo = 0;
|
int buildNo = 0;
|
||||||
|
|
||||||
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
||||||
@ -2669,6 +2669,7 @@ void dispatchCommandQueue()
|
|||||||
lastCommand = lastCommand+":"+crc.getValue();
|
lastCommand = lastCommand+":"+crc.getValue();
|
||||||
println("Last command:" + lastCommand);
|
println("Last command:" + lastCommand);
|
||||||
myPort.write(lastCommand);
|
myPort.write(lastCommand);
|
||||||
|
myPort.write(10); // OH *$%! of COURSE you should terminate it.
|
||||||
drawbotReady = false;
|
drawbotReady = false;
|
||||||
}
|
}
|
||||||
else if (commandQueue.isEmpty())
|
else if (commandQueue.isEmpty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user