1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

Made Serial.write(byte[]) method public

This method turns out to be useful.
This commit is contained in:
Cristian Maglie 2016-07-06 16:52:59 +02:00
parent a3f01a0ebb
commit c63ae04420

View File

@ -184,7 +184,7 @@ public class Serial implements SerialPortEventListener {
}
private void write(byte bytes[]) {
public void write(byte bytes[]) {
try {
port.writeBytes(bytes);
} catch (SerialPortException e) {