1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-10-16 22:27:59 +03:00

Adding interface for serial communication from PC to Arduino board.

This commit is contained in:
David A. Mellis
2006-07-08 10:43:47 +00:00
parent f6f4fe59c5
commit 77ecc6476c
3 changed files with 119 additions and 72 deletions

View File

@@ -1399,6 +1399,7 @@ public class Editor extends JFrame
buttons.activate(EditorButtons.SERIAL);
serialPort = new Serial(true);
debugging = true;
status.serial("Serial message:");
} else {
doStop();
}
@@ -1421,6 +1422,7 @@ public class Editor extends JFrame
public void doStop() {
//if (runtime != null) runtime.stop();
if (debugging) {
status.unserial();
serialPort.dispose();
debugging = false;
}