aboutsummaryrefslogtreecommitdiff
path: root/demo/index.html
diff options
context:
space:
mode:
authorUri Shaked2022-05-23 17:46:27 +0300
committerUri Shaked2022-05-23 17:46:27 +0300
commit881ebb6006eeedc799b408c99da2042ec6bc3d87 (patch)
tree1878aa68befd7cd8109a7f1a890afc9db2c8b028 /demo/index.html
parent0.19.0 (diff)
downloadavr8js-881ebb6006eeedc799b408c99da2042ec6bc3d87.tar.gz
avr8js-881ebb6006eeedc799b408c99da2042ec6bc3d87.tar.bz2
avr8js-881ebb6006eeedc799b408c99da2042ec6bc3d87.zip
refactor(demo): migrate to Vite
ditch parcel v1, and replace it with Vite. Vite is much faster and smaller, compared to parcel
Diffstat (limited to 'demo/index.html')
-rw-r--r--demo/index.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/demo/index.html b/demo/index.html
new file mode 100644
index 0000000..1156bd1
--- /dev/null
+++ b/demo/index.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta http-equiv="X-UA-Compatible" content="ie=edge" />
+ <title>AVR8js LED Demo</title>
+ <link href="//fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet" />
+ </head>
+ <body>
+ <h2>AVR8js LED Demo</h2>
+ <div class="app-container">
+ <div class="leds">
+ <wokwi-led color="green" label="13"></wokwi-led>
+ <wokwi-led color="red" label="12"></wokwi-led>
+ </div>
+ <div class="toolbar">
+ <button id="run-button">Run</button>
+ <button id="stop-button" disabled>Stop</button>
+ <button id="revert-button">Back to LEDS example</button>
+ <div class="spacer"></div>
+ <div id="status-label"></div>
+ </div>
+ <div class="code-editor"></div>
+ <div class="compiler-output">
+ <pre id="compiler-output-text"></pre>
+ <pre id="serial-output-text"></pre>
+ </div>
+ </div>
+ <script src="//cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.21.2/min/vs/loader.js"></script>
+ <script type="module" src="./src/index.ts"></script>
+ </body>
+</html>