From 8379ccc6ca86941144f0d95aa168997c4194c9ca Mon Sep 17 00:00:00 2001 From: Halcy0nic Date: Wed, 31 Jan 2024 13:46:42 -0700 Subject: [PATCH] Feat: Adding a clear button for serial streaming --- app.py | 3 ++- templates/analysis.html | 25 ++++++++++++++++++++++--- templates/tracking.html | 27 +++++++++++++++++++++++---- 3 files changed, 47 insertions(+), 8 deletions(-) diff --git a/app.py b/app.py index fe7f2c6..767e8d7 100644 --- a/app.py +++ b/app.py @@ -73,7 +73,8 @@ def read_serial_data(port, ser, buffer): time.sleep(0.1) except Exception as e: - print(f"Error: {e}") + #print("Could not access Serial Port") + #print(f"Error: {e}") pass def parse_and_store_data(): diff --git a/templates/analysis.html b/templates/analysis.html index e9de866..ea6dd16 100644 --- a/templates/analysis.html +++ b/templates/analysis.html @@ -67,7 +67,8 @@
-
+

+

Status: Checking...

@@ -75,6 +76,22 @@
+