Browse Source

Add start and end signal to telegram

master
Tim Zeuner 1 year ago
parent
commit
8cda9e8c0f

+ 2
- 1
MobileApp/app/src/main/java/com/example/lfrmobileapp/Communication.java View File



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++){
tel += ";0.00"; tel += ";0.00";
} }
} }
tel += "zz";
return tel; return tel;
} }



Loading…
Cancel
Save