diff --git a/.site/gallery/micropython.html b/.site/gallery/micropython.html index 4b5ea938..fe6a8342 100644 --- a/.site/gallery/micropython.html +++ b/.site/gallery/micropython.html @@ -21,6 +21,7 @@

Direct MicroPython WebAssembly

Pyodide alternative +

The application runs on the main thread through the compiled _wasm_bridge.

@@ -58,6 +59,11 @@

Console output

if (entry) { document.getElementById('loader-title').textContent = entry.replaceAll('_', ' '); document.title = `${entry} — Direct MicroPython`; + // The same example in Workbench: editable, runnable in its + // simulator, and one connect away from a board. + const workbench = document.getElementById('workbench-link'); + workbench.href = `https://pydevices.github.io/workbench/?vm=1&example=${encodeURIComponent(entry)}`; + workbench.hidden = false; }