mirror of
https://codeberg.org/mclemens/wt32powermeter.git
synced 2025-01-03 07:56:45 -05:00
„index.h“ ändern
This commit is contained in:
parent
9924235ad8
commit
470cbc0276
26
index.h
26
index.h
@ -18,23 +18,18 @@ const char MAIN_page[] PROGMEM = R"=====(
|
|||||||
|
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h1>FWD Voltage</h1>
|
<h1>FWD Power</h1>
|
||||||
<h1><span id="FWDValue">0</span>mV</h1>
|
<h1><span id="FWDValue">0</span> dBm</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h1>REF Voltage</h1>
|
<h1>REF Power</h1>
|
||||||
<h1><span id="REFValue">0</span>mV</h1>
|
<h1><span id="REFValue">0</span> dBm</h1>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<h1>DRV Voltage</h1>
|
|
||||||
<h1><span id="DRVValue">0</span>mV</h1>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h1>SWR</h1>
|
<h1>SWR</h1>
|
||||||
<h1><span id="SWRValue">0</span>mV</h1>
|
<h1><span id="SWRValue">0</span></h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
@ -75,17 +70,6 @@ function getREF() {
|
|||||||
xhttp.open("GET", "readREF", true);
|
xhttp.open("GET", "readREF", true);
|
||||||
xhttp.send();
|
xhttp.send();
|
||||||
}
|
}
|
||||||
function getDRV() {
|
|
||||||
var xhttp = new XMLHttpRequest();
|
|
||||||
xhttp.onreadystatechange = function() {
|
|
||||||
if (this.readyState == 4 && this.status == 200) {
|
|
||||||
document.getElementById("DRVValue").innerHTML =
|
|
||||||
this.responseText;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
xhttp.open("GET", "readDRV", true);
|
|
||||||
xhttp.send();
|
|
||||||
}
|
|
||||||
function getSWR() {
|
function getSWR() {
|
||||||
var xhttp = new XMLHttpRequest();
|
var xhttp = new XMLHttpRequest();
|
||||||
xhttp.onreadystatechange = function() {
|
xhttp.onreadystatechange = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user