Add start and end signal to telegram
This commit is contained in:
parent
e9114fdfe5
commit
8cda9e8c0f
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user