-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
49 lines (45 loc) · 1.34 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
<html>
<head>
<title>LightwaveRF decoder by @Benjie</title>
<style>
textarea {
width: 100%;
height: 300px;
}
#output {
color: rgb(50, 50, 50);
}
.entry {
margin: 20px;
}
.data {
font-weight: bold;
color: black;
}
.debug {
color: rgb(100, 100, 100);
font-size: 0.9em;
}
</style>
<script src="browser.js"></script>
</head>
<body>
<h1>LightwaveRF decoder</h1>
<p><a href="http://github.com/benjie/rf-experiments">GitHub repository for this is here</a>.</p>
<p>Enter your RF data into the textbox below. Your data should comprise a
comma separated list of durations in microseconds (μs) for which the
433.92MHz RF band was either high or low according to your <abbr
title="on-off keying">OOK</abbr> receiver. A JSON array will work just fine
too.</p>
<p>To read more about LightwaveRF decoding, view <a
href="http://www.benjiegillam.com/2013/02/lightwaverf-rf-protocol/">Benjie's
blog posts</a>.</p>
<form id="input" method="POST" action="" onsubmit="return false;">
<p><a href="#" id="sample">Click here to load sample data</a></p>
<textarea id="data"></textarea>
<input type="submit" value="Analyse">
</form>
<div id="output">
</div>
</body>
</html>