MCPcopy Index your code
hub / github.com/arduino/Arduino / open

Method open

app/src/processing/app/SerialPlotter.java:474–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

472 }
473
474 public void open() throws Exception {
475 super.open();
476
477 if (serial != null) return;
478
479 serial = new Serial(getBoardPort().getAddress(), serialRate) {
480 @Override
481 protected void message(char buff[], int n) {
482 addToUpdateBuffer(buff, n);
483 }
484 };
485 }
486
487 public void close() throws Exception {
488 if (serial != null) {

Callers 1

SerialPlotterMethod · 0.95

Calls 2

getAddressMethod · 0.80
getBoardPortMethod · 0.80

Tested by

no test coverage detected