-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
49 lines (45 loc) · 2.53 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Web Bluetooth test</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="intro">
<h1>Myo Web Bluetooth</h1>
<button id="connect">
CONNECT BLUETOOTH DEVICE
</button>
<span id="message"></span>
<a href="https://github.com/charliegerard/myo-web-bluetooth.js" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
</div>
<section class="main-container">
<div class="myo-data">
<ul>
<li class="data">Battery level: <span class="battery-data"></span></li>
<li class="data">Arm type: <span class="arm-type-data"></span></li>
<li class="data">Arm Synced: <span class="arm-synced-data"></span></li>
<li class="data">Myo direction: <span class="myo-direction-data"></span></li>
<li class="data">Myo locked: <span class="myo-locked-data"></span></li>
<li class="data">Pose data: <span class="pose-data"></span></li>
<li class="data">Orientation X data: <span class="orientation-x-data"></span></li>
<li class="data">Orientation Y data: <span class="orientation-y-data"></span></li>
<li class="data">Orientation Z data: <span class="orientation-z-data"></span></li>
<li class="data">Accelerometer X data: <span class="accelerometer-x-data"></span></li>
<li class="data">Accelerometer Y data: <span class="accelerometer-y-data"></span></li>
<li class="data">Accelerometer Z data: <span class="accelerometer-z-data"></span></li>
<li class="data">Gyroscope X data: <span class="gyroscope-x-data"></span></li>
<li class="data">Gyroscope Y data: <span class="gyroscope-y-data"></span></li>
<li class="data">Gyroscope Z data: <span class="gyroscope-z-data"></span></li>
</ul>
</div>
<div class="container">
<img class="pose-image" src="" alt="">
</div>
</section>
<script type="text/javascript" src="myo-web-bluetooth.js"></script>
<script type="text/javascript" src="./lib/three.min.js"></script>
<script type="text/javascript" src="./index.js"></script>
</body>
</html>