Skip to content

Commit c63ae04

Browse files
committed
Made Serial.write(byte[]) method public
This method turns out to be useful.
1 parent a3f01a0 commit c63ae04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/processing/app/Serial.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public void write(int what) { // will also cover char
184184
}
185185

186186

187-
private void write(byte bytes[]) {
187+
public void write(byte bytes[]) {
188188
try {
189189
port.writeBytes(bytes);
190190
} catch (SerialPortException e) {

0 commit comments

Comments
 (0)