MCPcopy
hub / github.com/arduino/Arduino / Serial

Method Serial

arduino-core/src/processing/app/Serial.java:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 private CharBuffer outToMessage = CharBuffer.allocate(OUT_BUFFER_CAPACITY);
61
62 public Serial() throws SerialException {
63 this(PreferencesData.get("serial.port"),
64 PreferencesData.getInteger("serial.debug_rate", 9600),
65 PreferencesData.getNonEmpty("serial.parity", "N").charAt(0),
66 PreferencesData.getInteger("serial.databits", 8),
67 PreferencesData.getFloat("serial.stopbits", 1),
68 !BaseNoGui.getBoardPreferences().getBoolean("serial.disableRTS"),
69 !BaseNoGui.getBoardPreferences().getBoolean("serial.disableDTR"));
70 }
71
72 public Serial(int irate) throws SerialException {
73 this(PreferencesData.get("serial.port"), irate,

Callers

nothing calls this directly

Calls 10

getMethod · 0.95
getIntegerMethod · 0.95
getNonEmptyMethod · 0.95
getFloatMethod · 0.95
getBoardPreferencesMethod · 0.95
resetDecodingMethod · 0.95
trMethod · 0.80
getBooleanMethod · 0.45
equalsMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected