Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<meta http-equiv="Refresh" content="0; url='https://microbit-apps.github.io/microcode-classic/docs/manual'" />
<link rel="apple-touch-icon" href="/{{ site.github.repository_name }}/assets/image.png" />
<link rel="icon" type="image/png" href="/{{ site.github.repository_name }}/assets/image.png" />
<script type="text/javascript">
Expand Down
141 changes: 6 additions & 135 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,140 +165,11 @@
</head>

<body id="root">
<div id="loader" class="lds-ripple">
<div></div>
<div></div>
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAAAWCAYAAAAvrxV9AAAAAXNSR0IArs4c6QAABARJREFUaEPlWttx3DAMlHpwAy4i1cQf5z7iyWScPnwfdjUpwg24B2VACzIE4bEkpbm7JB9JThJIEFwuFpDGYRiGaZom+lf/GcdxtK6jNnrcaDxvnlu57sWQ/M/WPd3fL/Ef39+XmOvr8jfHhZ/ne9Jexu6ovRh54LffZ3OvHp4eNyBCbLxnrPFuBSSWn3JjvBiS3fcfJxdIZfNPd5/Dnz8GAsHqGoHw559x+vXtE2jnj4GfL9cNews82r899qIAKFo4OSInysAzP0+sNljjPjw9lkN5y6Bh35FY6HWaB1IwUAkOA2g21qxCgPGYiu01gI7aCwhADCI0YASSfx1AaCysg6JBlDEQscwKEBaAFINdHYCYhjO2+h8YqAc8vLErVpcMdLr7SleUqgwWshhIaqENYzlZZo9sADNQTcphx16fX1bifL5+0ylsD/DwIeNUvmibWessKZI1j3FdshLZ82/5f5lqL57CWgA02+gKzxXl1hxeBRNVFfJeSyVZEO5UoIhmRGMVFSg1sbAEs7ZHAVRbTR7KQFnp2FrBRBWedW+jOUTboqZyQthHsOzw+vwSYkmmkNZYaEFPvxGZsWHBxpgcBiD2xysdkc3wKpiIBahcdk5bYb6j5hUbskrROo3LNTGAenxqXZMEUM/8IYBogdYp8q4LgZhWYS2pQAYcPWXSJ8pMR80b6TsLRPL5Hp8YQLXx0ACqtee9SAFEQZcB4IV7ZTo7FpXxHjsh2oHSUWvAj5wXqGisbn/ayI1iwrGoSVuaAYNMsTzqpWKaHwKQIYZTuwxAgagr0wVOZ+y2sc9Aj+iWqLel9YTedEuYskj3DkOvTz32Fpt6LJoCwesaRyyQNRItcCFOg0CQVZ489eZakXkzVhVpsuq1j8emvT5p+wik3kEnLZlVcjTPtQHIesWxaQMkpzZ8AWyI+pXo9TRFxkAWiDJx6o1ppUNrzah9C4BAOXHdAPLaAJcCkNaDXpDl6Y3EKQqAWlBrAB4BIGa5q2GgOU18fcowqzurDbAngCrmLUzVIuAtoAHpGIlFpAdX9p7mTORERkRVIno12N4aiAfPTm+mr6I3/Vn/iH3IurZRbyeLuEh1KSB7YkGD99ijn3pchIHQVKA3Azi1Gz2jx2jZfFTUVoJn8bXXpxZ7WTl69paQ1q94LgagllSQNRKBXkzpRLc2zY4CY69PLfYSQLX2kp0uBiBaQM3JQTq3CIB65rUYpnUNPWDcixFlvBrWUTRW+StrtXvUnNmBn3NM0UtH2RCT+gYcO8oqTfM6A+41Vu84ob303QIhvSoEXwAv2PGabjwX8ump2aIXzqafc8zPmh/2z/c8P9CxQyAFN5H1S/OWNVjT944T2cv50LhqHxe7v+PVXF6WP+4hAAAAAElFTkSuQmCC"
/>
</div>
<div>
<iframe
id="simframe"
title="MicroCode editor"
allowfullscreen="allowfullscreen"
sandbox="allow-popups allow-forms allow-scripts allow-same-origin"
>
</iframe>
</div>
<div id="simbtn">
<a
href="https://microsoft.github.io/jacdac-docs/clients/javascript/devtools?jacscript=1&simulators=microbitmicrocode#http://127.0.0.1:7001/index.html?usb=0"
>sim</a
>
<button id="docsbtn">art</button>
<button id="screenshotbtn">screenshot</button>
<button id="voicebtn">voice</button>
</div>
<script type="text/javascript">
makeCodeRun({ js: "./js/binary.js" })
</script>
<dialog id="connectDlg">
<form method="dialog">
<img
src="./assets/image_microcode.png"
alt="MicroCode logo"
loading="lazy"
class="logo"
/>
<h3>
Program your micro:bit V2 with MicroCode!
<button>Close</button>
</h3>
<h4>Prepare your micro:bit V2</h4>
<ul>
<li>
Connect your micro:bit <b>V2</b>
to your computer. (micro:bit V1 is not supported)
</li>
<li>
<a
class="firmware-download"
href="https://microsoft.github.io/microcode/assets/firmware.hex"
download="microcode.hex"
>Download MicroCode</a
>
to the <code>MICROBIT</code> drive.
</li>
<li>Wait for the micro:bit to restart</li>
</ul>
<h4>
Code on a
<a
href="https://microsoft.github.io/microcode/docs/manual#arcade-shield"
>micro:bit Arcade Shield</a
>
</h4>
<a
href="https://microsoft.github.io/microcode/docs/manual#arcade-shield"
>
<img
src="./assets/image_shield.jpg"
alt="A photograph of a micro:bit Arcade shield displaying the microcode landing page"
loading="lazy"
class="shield"
/>
</a>
<ul>
<li>
Plug your micro:bit into your micro:bit Arcade shield
and start coding!
</li>
</ul>
<h4>Code in your Web Browser</h4>
<ul>
<li>
<button class="webusbBtn">Connect</button>, choose "BBC
micro:bit CMSIS-DAP" and press "Connect" in the dialog.
</li>
</ul>
</form>
</dialog>
<dialog id="notsupportedDlg">
<img
src="./assets/image_microcode.png"
alt="MicroCode logo"
loading="lazy"
class="logo"
/>
<form method="dialog">
<h2>
This browser does not support WebUSB.
<button>Close</button>
</h2>
<p>
MicroCode uses WebUSB to download code to the micro:bit. Use
Microsoft Edge, Google Chrome or
<a href="https://caniuse.com/webusb"
>https://caniuse.com/webusb</a
>
to find a compatible browser.
</p>
</form>
</dialog>
<dialog id="outdatedDlg">
<form method="dialog">
<h2>
You need to update MicroCode on your micro:bit!
<button>Close</button>
</h2>
<ol>
<li>
<a
class="firmware-download"
href="https://microsoft.github.io/microcode/assets/firmware.hex"
download="microcode.hex"
>Download MicroCode</a
>
to the <code>MICROBIT</code> drive.
</li>
<li>Wait for the micro:bit to restart</li>
<li>
<button class="webusbBtn">Connect</button>, choose "BBC
micro:bit CMSIS-DAP" and press 'Connect' in the dialog.
</li>
</ol>
</form>
</dialog>
<p>
MicroCode has moved:
<a href="https://microbit-apps.github.io/microcode-classic/docs/manual">
https://microbit-apps.github.io/microcode-classic/docs/manual
</a>
</p>
</body>
</html>