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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user