Skip to content

Commit c22c0e3

Browse files
committed
getting back to square one
1 parent 67230d0 commit c22c0e3

4 files changed

Lines changed: 14425 additions & 14727 deletions

File tree

assets/index.html

Lines changed: 1 addition & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<meta charset="utf-8" />
@@ -182,123 +182,12 @@
182182
</iframe>
183183
</div>
184184
<div id="simbtn">
185-
<a
186-
href="https://microsoft.github.io/jacdac-docs/clients/javascript/devtools?jacscript=1&simulators=microbitmicrocode#http://127.0.0.1:7001/index.html?usb=0"
187-
>sim</a
188-
>
189185
<button id="docsbtn">art</button>
190186
<button id="screenshotbtn">screenshot</button>
191187
<button id="voicebtn">voice</button>
192188
</div>
193189
<script type="text/javascript">
194190
makeCodeRun({ js: "./js/binary.js" })
195191
</script>
196-
<dialog id="connectDlg">
197-
<form method="dialog">
198-
<img
199-
src="./assets/image_microcode.png"
200-
alt="MicroCode logo"
201-
loading="lazy"
202-
class="logo"
203-
/>
204-
<h3>
205-
Program your micro:bit V2 with MicroCode!
206-
<button>Close</button>
207-
</h3>
208-
<h4>Prepare your micro:bit V2</h4>
209-
<ul>
210-
<li>
211-
Connect your micro:bit <b>V2</b>
212-
to your computer. (micro:bit V1 is not supported)
213-
</li>
214-
<li>
215-
<a
216-
class="firmware-download"
217-
href="https://microsoft.github.io/microcode/assets/firmware.hex"
218-
download="microcode.hex"
219-
>Download MicroCode</a
220-
>
221-
to the <code>MICROBIT</code> drive.
222-
</li>
223-
<li>Wait for the micro:bit to restart</li>
224-
</ul>
225-
<h4>
226-
Code on a
227-
<a
228-
href="https://microsoft.github.io/microcode/docs/manual#arcade-shield"
229-
>micro:bit Arcade Shield</a
230-
>
231-
</h4>
232-
<a
233-
href="https://microsoft.github.io/microcode/docs/manual#arcade-shield"
234-
>
235-
<img
236-
src="./assets/image_shield.jpg"
237-
alt="A photograph of a micro:bit Arcade shield displaying the microcode landing page"
238-
loading="lazy"
239-
class="shield"
240-
/>
241-
</a>
242-
<ul>
243-
<li>
244-
Plug your micro:bit into your micro:bit Arcade shield
245-
and start coding!
246-
</li>
247-
</ul>
248-
<h4>Code in your Web Browser</h4>
249-
<ul>
250-
<li>
251-
<button class="webusbBtn">Connect</button>, choose "BBC
252-
micro:bit CMSIS-DAP" and press "Connect" in the dialog.
253-
</li>
254-
</ul>
255-
</form>
256-
</dialog>
257-
<dialog id="notsupportedDlg">
258-
<img
259-
src="./assets/image_microcode.png"
260-
alt="MicroCode logo"
261-
loading="lazy"
262-
class="logo"
263-
/>
264-
<form method="dialog">
265-
<h2>
266-
This browser does not support WebUSB.
267-
<button>Close</button>
268-
</h2>
269-
<p>
270-
MicroCode uses WebUSB to download code to the micro:bit. Use
271-
Microsoft Edge, Google Chrome or
272-
<a href="https://caniuse.com/webusb"
273-
>https://caniuse.com/webusb</a
274-
>
275-
to find a compatible browser.
276-
</p>
277-
</form>
278-
</dialog>
279-
<dialog id="outdatedDlg">
280-
<form method="dialog">
281-
<h2>
282-
You need to update MicroCode on your micro:bit!
283-
<button>Close</button>
284-
</h2>
285-
<ol>
286-
<li>
287-
<a
288-
class="firmware-download"
289-
href="https://microsoft.github.io/microcode/assets/firmware.hex"
290-
download="microcode.hex"
291-
>Download MicroCode</a
292-
>
293-
to the <code>MICROBIT</code> drive.
294-
</li>
295-
<li>Wait for the micro:bit to restart</li>
296-
<li>
297-
<button class="webusbBtn">Connect</button>, choose "BBC
298-
micro:bit CMSIS-DAP" and press 'Connect' in the dialog.
299-
</li>
300-
</ol>
301-
</form>
302-
</dialog>
303192
</body>
304193
</html>

assets/js/binary-en.js

Lines changed: 14236 additions & 14286 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)