-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsparkfunflash.html
44 lines (34 loc) · 1.44 KB
/
sparkfunflash.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
<!DOCTYPE html>
<html>
<body>
<h1>FPV-MDN Flasher (SPARKFUN PROTOTYPE)</h1>
<h2>Firmware Version: v0.2.5 (SPARKFUN PROTOTYPE)</h2>
<div id="main" style="display: none;">
<br>
<script
type="module"
src="https://unpkg.com/esp-web-tools@10.1.0/dist/web/install-button.js?module">
</script>
<esp-web-install-button id="installButton" manifest="webflash/manifest.json"></esp-web-install-button>
<br>
<br>
<span>NOTE: Make sure to close anything using your devices com port (e.g. Serial monitor)</span>
</div>
<div id="notSupported" style="display: none;">
Your browser does not support the Web Serial API. Try Chrome / Edge / Opera
</div>
<a href="https://www.tindie.com/stores/thewolfblitz7/?ref=offsite_badges&utm_source=sellers_TheWolfblitz7&utm_medium=badges&utm_campaign=badge_large"><img src="https://d2ss6ovg47m0r5.cloudfront.net/badges/tindie-larges.png" alt="I sell on Tindie" width="200" height="104"></a>
<script>
if(navigator.serial)
{
document.getElementById("notSupported").style.display = 'none';
document.getElementById("main").style.display = 'block';
}
else
{
document.getElementById("notSupported").style.display = 'block';
document.getElementById("main").style.display = 'none';
}
</script>
</body>
</html>