This commit is contained in:
2025-08-14 20:51:28 +02:00
parent 6bf43409e4
commit 76fe86a3bc
2 changed files with 16 additions and 13 deletions

View File

@@ -198,10 +198,10 @@
function getBoatLog(e)
{
let cmd = prompt("enter command");
// let cmd = prompt("enter command");
let boat = getDataFomEl(e.target);
console.log("send cmd", boat, cmd);
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";" + cmd);
// console.log("send cmd", boat, cmd);
// conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";" + cmd);
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";servotrim:0");
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";servotrim:1");