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:
parent
a3f01a0ebb
commit
c63ae04420
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user