Permalink
Browse files

Fehlende breaks hinzugefuegt und Wartezeiten veraendert

  • Loading branch information...
Baschdl committed Mar 6, 2015
1 parent 88aec0f commit ab03e39ab919e2348862c19a35ea3f5c48a8967c
@@ -68,13 +68,13 @@ private static void connect() {
// Laden der Karte an Pi-Server geschickt
if (Button.LEFT.isDown() && Button.RIGHT.isDown()) {
comBrick.sendData(9, 1, 1);
Delay.msDelay(4500);
Delay.msDelay(1000);
} else if (Button.ENTER.isDown()) {
comBrick.sendData(9, 2, 1);
Delay.msDelay(4500);
Delay.msDelay(1000);
}
Delay.msDelay(500);
Delay.msDelay(100);
}
} catch (Exception e) {
System.out.println("A error occured!");
@@ -359,6 +359,7 @@ private void processCommand(int[] command) {
default:
break;
}
break;
case 5:
switch (command[2]) {
case 1:
@@ -370,7 +371,10 @@ private void processCommand(int[] command) {
case 3:
rotationSpeed = command[3];
break;
default:
break;
}
break;
}
Delay.msDelay(1);
break;

0 comments on commit ab03e39

Please sign in to comment.