-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
118 lines (100 loc) · 4.12 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Input Stream</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<!-- <div class="logo">
<img src="IMAGES YAAR/logo.jpeg" alt="">
</div> -->
<div class="Vlabs">
<span>Vlabs</span>
</div>
<div class="User">
<span>Udbhav V Kamath</span>
</div>
<div class="Signupbutton">
<span>Sign out</span>
</div>
<div class="Lines"> </div>
<div class="Lines2"> </div>
<div class="HEADING1">
<span>ASK Modulation and Demodulation</span>
</div>
<div class="Switch">
<div class="switchRed shadow" onclick="onOff()">
<p><br> POWER ON/OFF</p>
</div>
<div class="led "><img id="leds" src="IMAGES YAAR/redLed.png"></div>
</div>
<!-- User Input -->
<div class="setup1">
<span><img src="IMAGES YAAR/setup bg.png" alt=""></span>
</div>
<div class="Instruction"></div>
<div class="Graphs1"><h2>Graphs</h2></div>
<div class="userInput">
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss0" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss1" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss2" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss3" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss4" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss5" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss6" >
<img src="IMAGES YAAR/zero.jpeg" class="image" id="ss7" >
<button class="runButton" onclick="printArray()">RUN </button>
</div>
<!-- Toogle Pins Code -->
<div class="togglepins">
<span class="s0" ><img id="s0" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero0()"/></span>
<span class="s1"> <img id="s1" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero1()" /></span>
<span class="s2" ><img id="s2" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero2()"/></span>
<span class="s3" ><img id="s3" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero3()"/></span>
<span class="s4" ><img id="s4" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero4()"/></span>
<span class="s5" ><img id="s5" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero5()"/></span>
<span class="s6" ><img id="s6" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero6()"/></span>
<span class="s" ><img id="s7" src="IMAGES YAAR/toggle_off.png" onclick="swapOneZero7()"/></span>
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<!-- Audio Source -->
<audio src="IMAGES YAAR/switchOn.mp3" id="myAudio"></audio>
<br>
<br>
<br>
<br>
<!-- Instructions -->
<div class="topContainer">Instructions</div>
<div class="wrapper">
<div class="midContainer1">
" 1. First Turn on 8 Bit Variable data generator using power switch which helps to generate the data signal from given data <br>
2. Change the orientation of data switch as per your data, for 0 toggle it up to vice versa.<br>
3.Check the data again from S0 to S7 bit and the amplitude and frequency of message signal."<br>
</div>
<div class="midContainer2">
1.Click on RUN button to generate the ASK signal <br>
2.Observe the graph and download it from right to top corner of graph in png,jpeg,and pdf format.<Br>
3.To decode the ASK signal click the decode button shown below."<br>
</div>
</div>
<!-- Graphs -->
<div class="graphs">
<canvas id="canvasCarrier" height="300px" style="border:1px solid"></canvas>
<canvas id="canvasASK" height="300px" style="border:1px solid"></canvas>
<canvas id="canvasFSK" height="300px" style="border:1px solid"></canvas>
<canvas id="canvasDemodulated" height="300px" style="border:1px solid"></canvas>
</div>
</div>
<script src="index.js"></script>
</body>
</html>