UI for GPIO pins

This commit is contained in:
Christian Herzog
2019-09-27 21:53:04 +02:00
parent afe5f867c8
commit 4b1ac70151
3 changed files with 82 additions and 1 deletions

View File

@@ -197,6 +197,61 @@
</div>
<div class="tab-pane fade" id="tab-gpio">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Signal</th>
<th scope="col">GPIO pin</th>
</tr>
</thead>
<tbody id="releaseTable">
<tr>
<td><strong>I2S</strong></td><td></td>
</tr>
<tr>
<td>I2S Bit clock</td>
<td>
<input type="text" class="form-control gpio" id="gpio-i2s-bc" maxlength="2" size="2">
</td>
</tr>
<tr>
<td>I2S Word select</td>
<td>
<input type="text" class="form-control gpio" id="gpio-i2s-ws" maxlength="2" size="2">
</td>
</tr>
<tr>
<td>I2S Data</td>
<td>
<input type="text" class="form-control gpio" id="gpio-i2s-data" maxlength="2" size="2">
</td>
</tr>
<tr>
<td><strong>SPDIF</strong></td><td></td>
</tr>
<tr>
<td>SPDIF Bit clock</td>
<td>
<input type="text" class="form-control gpio" id="spdif-i2s-bc" maxlength="2" size="2">
</td>
</tr>
<tr>
<td>SPDIF Word select</td>
<td>
<input type="text" class="form-control gpio" id="spdif-i2s-ws" maxlength="2" size="2">
</td>
</tr>
<tr>
<td>SPDIF Data</td>
<td>
<input type="text" class="form-control gpio" id="spdif-i2s-data" maxlength="2" size="2">
</td>
</tr>
</tbody>
</table>
<div class="buttons">
<input id="save-gpio" type="button" class="btn btn-success" value="Save" />
</div>
</div>
<div class="tab-pane fade" id="tab-system">