Factor out all general jlibarduino code

This commit is contained in:
2015-06-25 15:58:30 +01:00
parent 55d51fdcd2
commit 0e8f953f0f
12 changed files with 65 additions and 279 deletions

View File

@@ -7,8 +7,8 @@ import base.Duplex;
import base.Receiver;
import base.work.Listen;
import com.github.boukefalos.arduino.exception.ArduinoException;
import com.github.boukefalos.tm1638.AbstractTM1638;
import com.github.boukefalos.tm1638.exception.ArduinoException;
public class Remote extends AbstractTM1638 implements Receiver {
protected Duplex duplex;
@@ -43,7 +43,7 @@ public class Remote extends AbstractTM1638 implements Receiver {
public void receive(byte[] buffer) {
// Arduino > Server > [Client]
// Should decode here?
// Should give option to decode here?
for (Listen<Object> listen : listenList) {
listen.add(buffer);
}