Add start and end signal to telegram

This commit is contained in:
Tim Zeuner 2023-02-07 16:07:17 +01:00
parent e9114fdfe5
commit 8cda9e8c0f

View File

@ -12,7 +12,7 @@ import java.util.Objects;
public class Communication { public class Communication {
public String telegram(int[] wheels, int strenght){ public String telegram(int[] wheels, int strenght){
String tel = ""; String tel = "aa";
tel += "0"; //Manuel mode tel += "0"; //Manuel mode
for(int i = 0; i < wheels.length; i++){ for(int i = 0; i < wheels.length; i++){
@ -24,6 +24,7 @@ public class Communication {
tel += ";0.00"; tel += ";0.00";
} }
} }
tel += "zz";
return tel; return tel;
} }