From c63ae04420f3fb9e4e1e12d0ff975416dfeb7e0e Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 6 Jul 2016 16:52:59 +0200 Subject: [PATCH] Made Serial.write(byte[]) method public This method turns out to be useful. --- arduino-core/src/processing/app/Serial.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-core/src/processing/app/Serial.java b/arduino-core/src/processing/app/Serial.java index 04803f363..cd57a6dc0 100644 --- a/arduino-core/src/processing/app/Serial.java +++ b/arduino-core/src/processing/app/Serial.java @@ -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) {