Working code for bidirectional communication using protocol buffers

This commit is contained in:
2015-07-16 15:55:55 +01:00
parent df4bab1750
commit 394a413691
5 changed files with 6 additions and 4658 deletions

View File

@@ -37,6 +37,7 @@ public class Local extends AbstractArduino {
public void send(byte[] buffer) throws ArduinoException {
try {
outputStream.write(buffer);
outputStream.flush();
} catch (IOException e) {
throw new ArduinoException("Failed to write to arduino");
}