From 074803ac088ce691fd9a5221c25d5a88b3a1a3d6 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Wed, 7 May 2025 14:36:04 -0600 Subject: [PATCH] added pyro and battery values to ajax call --- application/app.py | 6 +++++- application/index.html | 13 ++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/application/app.py b/application/app.py index 3fc23eb..3676fb2 100755 --- a/application/app.py +++ b/application/app.py @@ -73,9 +73,13 @@ class App: b = ' N' p = str(n) + a t = str(n) + b + pyro_v = str(n) + ' volts' + batt_v = str(n) + ' volts' return { 'pressure' : p, - 'thrust' : t + 'thrust' : t, + 'pyro' : pyro_v, + 'battery' : batt_v } diff --git a/application/index.html b/application/index.html index 31bb46f..3baaa97 100644 --- a/application/index.html +++ b/application/index.html @@ -2,7 +2,7 @@ -CCMF +QuantiMotor +

QuantiMotor

-

Pressure

+

Pressure

-

Thrust

+

Thrust

+

Pyro

+
+

Battery

+
-- 2.47.2