From fffd7482d88cb11bc7d31f9ccb115d1e29246173 Mon Sep 17 00:00:00 2001 From: Bluedragon Date: Wed, 27 Apr 2022 05:45:38 +0700 Subject: [PATCH] add edit odo --- backup/constanta.html | 191 ++++++++++++++++++++++++++++++++++++++++ backup/startrally1.html | 69 ++++----------- src/constanta.h | 16 ++-- src/index.h | 16 ++-- src/main.cpp | 42 +++++++-- 5 files changed, 261 insertions(+), 73 deletions(-) create mode 100644 backup/constanta.html diff --git a/backup/constanta.html b/backup/constanta.html new file mode 100644 index 0000000..b561799 --- /dev/null +++ b/backup/constanta.html @@ -0,0 +1,191 @@ + + Rally TerraTrip v1 Constanta + + + + + + + +
+
+

12345

+

TRACK A

+

Time: 00:00:00

+

123.4Km/h

+
+
+ + + +
+
+
+
=
+
+
X
+
+
+
+
+)rawliteral"; + +const char HTML_CONSTROW[] PROGMEM = R"rawliteral( +
+
+
+
+
+
+
+
+
+
+
+
+
+)rawliteral"; + +const char HTML_CONSTEND[] PROGMEM = R"rawliteral( + +
+ + + \ No newline at end of file diff --git a/backup/startrally1.html b/backup/startrally1.html index 73fd221..ade8cfd 100644 --- a/backup/startrally1.html +++ b/backup/startrally1.html @@ -23,7 +23,7 @@ ping = -1; }; ws.onmessage = function(event) { - // console.log(event.data); + console.log(event.data); let data = JSON.parse(event.data); // if (data.hasOwnProperty("ping")) { // console.log("with ping key"); @@ -128,8 +128,7 @@
-

OD 1->

-

123.4567 km

+

OD 1>> 123.456 km

DIRECT

TDiff:

00:00:00

@@ -156,7 +155,7 @@ -->
-

OD 2->123.456 km

+

OD 2>> 123.456 km

DIRECT

TDiff:

00:00:00

@@ -189,7 +188,7 @@
@@ -207,6 +206,7 @@