-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFullColorLED.html
More file actions
52 lines (48 loc) · 862 Bytes
/
FullColorLED.html
File metadata and controls
52 lines (48 loc) · 862 Bytes
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
50
51
52
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>arduino.js x FullColorLED</title>
<script src="./js/jquery-1.11.0.min.js"></script>
<script src="./js/main.js"></script>
<style type="text/css">
html {
display:table;
height: 80%;
margin: 0 auto;
}
body {
background-color: #ccffaa;
display: table-cell;
vertical-align: middle;
margin: 0 auto;
}
h1 {
position: absolute;
top: 10px;
}
td {
width: 160px;
height: 160px;
}
#settings {
position: fixed;
bottom: 10px;
right: 10px;
}
</style>
</head>
<body>
<h1>FullColorLED(Traffic Light)</h1>
<table>
<tr>
<td></td><td></td><td></td>
</tr>
</table>
<form id="settings">
Device Port:
<input type="text" id="devPort">
<input type="button" value="Change" onclick="changeDevicePort()">
</form>
</body>
</html>