1 @@require(PLATFORM, VERSION, chip)
6 <title>Welcome to your ExpressLRS System
</title>
7 <meta charset=
"utf-8" />
8 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
9 <link rel=
"stylesheet" href=
"elrs.css" />
13 <header class=
"mui-appbar mui--z1 mui--text-center elrs-header">
14 @@include(
"logo-template.svg")
15 <h1><b>ExpressLRS
</b></h1>
16 <span id=
"product_name"></span><br/>
17 <b>Firmware Rev.
</b>@@{VERSION}
<span id=
"reg_domain"></span>
20 <div class=
"mui-container-fluid mui-col-sm-10 mui-col-sm-offset-1">
21 <div class=
"mui-panel">
22 This page puts the Semtech LoRa chip into a mode where it transmits a continuous wave with a center frequency of
<span id=
"frequency"></span> MHz.
24 You can then measure the actual continuous wave center frequency using a spectrum analyzer and enter the measured value below
25 and this will be used to calculate the accuracy of the crystal used in the device and how far it differs from the ideal frequency.
27 <div id=
"radioOption" class=
"mui-radio" style=
"display: none;">
45 @@if chip == 'LR1121':
46 Basic support is available for the LR1121 and setting
915 MHz.
48 <div class=
"mui-checkbox">
50 <input type=
"checkbox"
52 id=
"optionsSetSubGHz">
58 <button id=
"start-cw" class=
"mui-btn mui-btn--primary" disabled
>Start Continuous Wave
</button>
61 <div class=
"mui-textfield">
62 <input id='measured' type='text' required
/>
63 <label>Center Frequency
</label>
65 <div id=
"result" style=
"display: none;">
66 <table class=
"mui-table mui-table--bordered">
67 <tr><td>Calculated XO Freq
</td><td id=
"calculated"></td></tr>
68 <tr><td>Calculated XO Offset (kHz)
</td><td id=
"offset"></td></tr>
69 <tr><td>Calculated XO Offset (PPM)
</td><td id=
"ppm"></td></tr>
70 <tr><td>Raw Offset (kHz)
</td><td id=
"raw"></td></tr>
71 <tr><td>TL;DR
</td><td id=
"tldr"></td></tr>
77 <script src=
"cw.js"></script>