ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f105-motor-demo_esp/html_src/page_waveform.php

53 lines
1.2 KiB

<?php $page = 'waveform'; include "_start.php"; ?>
9 years ago
<h1>Waveform</h1>
<div class="Box center" id="samp-ctrl">
<div>
<label for="count">Samples</label>
<input id="count" type="number" value="500">
</div>
<div>
<label for="freq">f<sub>s</sub> <span class="mq-normal-min nb">=</span><span class="mq-tablet-max nb">(Hz)</span></label>
<input id="freq" type="number" value="2048">
<span class="mq-normal-min">Hz</span>
</div>
<div>
<a id="load" class="button btn-green">Load</a>
</div>
9 years ago
</div>
9 years ago
<div class="Box medium chartbox">
9 years ago
<div id="chart" class="ct-chart ct-wide"></div>
9 years ago
<div class="stats invis">
<table>
<tr>
<th>Samples</th>
9 years ago
<td id="stat-count"></td>
</tr>
<tr>
<th>f<sub>s</sub></th>
<td id="stat-f-s"></td>
</tr>
<tr>
<th>I<sub>peak</sub></th>
<td id="stat-i-peak"></td>
</tr>
<tr>
<th>I<sub>RMS</sub></th>
<td id="stat-i-rms"></td>
</tr>
</table>
<div class="ar"><!-- auto reload -->
<input type="number" id="ar-time" step="100" value="1000" min="0">&nbsp;ms
<input type="button" id="ar-btn" class="btn-blue narrow" value="Auto">
</div>
9 years ago
</div>
9 years ago
</div>
<script>
$().ready(page_waveform.init('raw'));
9 years ago
</script>
<?php include "_end.php"; ?>