-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·28 lines (24 loc) · 916 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>General Tools ToolSmart TS-04 Multimeter</title>
<script src='display.js'></script>
<script src='ble-ts04.js'></script>
</head>
<body>
<div id='display'>
<label aria-live="polite">Meter:<output id='status'>disconnected</output></label><br>
<label aria-live="polite">Setting:<output id='setting'></output></label> <br>
<label aria-live="polite">Units: <output id='units'></output></label><br>
<label aria-live="polite">Current Direction:<output id='acDc'></output> </label><br>
<output id='autoRange' aria-live="polite" ></output>
<output id='hold' aria-live="polite"></output><br>
</div>
<div>
<label aria-live="off">Reading: <output id='value'></label></output>
</div>
<button onClick='connect()'>connect</button>
<button onClick='disconnect()'>disconnect</button>
</body>
</html>