|
1 | | -## Microsoft MicroCode [https://aka.ms/microcode](https://aka.ms/microcode) |
| 1 | +## MicroCode (version 2) |
2 | 2 |
|
3 | | -Microsoft MicroCode is an icon-based programming language and editor for young learners to code with the [BBC micro:bit V2](https://microbit.org). MicroCode allows you to program the micro:bit V2 with only an [Arcade shield accessory](#arcade-shields-for-microbit-v2) - _no other computer is required!_ If you prefer the web browser, there's also a MicroCode web app that connects to your micro:bit V2 over WebUSB. |
| 3 | +MicroCode is an icon-based programming language and editor for young learners to code with the [BBC micro:bit V2](https://microbit.org). MicroCode allows you to program the micro:bit V2 with only an [display shield accessory](https://makecode.microbit.org/pkg/microbit-apps/display-shield) - _no other computer is required!_ |
4 | 4 |
|
5 | | -Here's the classic micro:bit _Happy-A-button/Sad-B-button_ program in MicroCode: |
| 5 | +## Getting started with MicroCode |
6 | 6 |
|
7 | | - |
| 7 | +### With hardware |
8 | 8 |
|
9 | | -## Getting started |
| 9 | +To use MicroCode, you will need to: |
10 | 10 |
|
11 | | -- **Read the [MicroCode user guide](https://microsoft.github.io/microcode/docs/manual)** |
12 | | -- [try it now!](https://microsoft.github.io/microcode/) |
| 11 | +1. Get a micro:bit (v2) and one of the [display shields](https://makecode.microbit.org/pkg/microbit-apps/display-shield). |
| 12 | +2. Download the [microcode hex file](./assets/microcode-v2.hex) and copy it your micro:bit. |
| 13 | +3. Insert the micro:bit into the display shield, and make sure the combination is powered. |
13 | 14 |
|
14 | | -## [Arcade shields](https://microsoft.github.io/microcode/docs/manual#arcade-shield) for micro:bit V2 |
| 15 | +With the above hardware, in addition to the freely-available MicroCode software, you also |
| 16 | +can use these other free programming environments: |
15 | 17 |
|
16 | | -There are various [Arcade shields](https://microsoft.github.io/microcode/docs/manual#arcade-shield) available on the market today, as shown below. |
| 18 | +- create your own graphics with [MakeCode for micro:bit](https://makecode.microbit.org) and the [display shield extension](https://makecode.microbit.org/pkg/microbit-apps/display-shield) |
| 19 | +- develop retro arcade games with [MakeCode Arcade](https://arcade.makecode.com) |
17 | 20 |
|
18 | | -<img style="width: 40%" src="https://microsoft.github.io/microcode/assets/newbit-shield.png"></img> |
| 21 | +### With simulators (no hardware required) |
19 | 22 |
|
20 | | -## Robot |
| 23 | +You can load this repo into [https://makecode.microbit.org/beta](https://makecode.microbit.org/beta) using the import button on the right-hand side of the home page via "Import URL". Enter [https://github.com/microbit-apps/microcode-v2](https://github.com/microbit-apps/microcode-v2) as the URL. |
21 | 24 |
|
22 | | -MicroCode can also be used to [program and control a 2 wheeled rover robot](https://microsoft.github.io/microcode/docs/robot). |
| 25 | +## What's New? |
23 | 26 |
|
24 | | -{:class="sample"} |
| 27 | +- MicroCode is built using [MakeCode for the micro:bit](https://makecode.microbit.org/beta), which |
| 28 | + provides direct access to all the micro:bit APIs available through MakeCode |
25 | 29 |
|
26 | | -<img style="width: 40%" src="https://microsoft.github.io/microcode/docs/images/cutebot.jpeg"></img> |
| 30 | +- Decimal notation (instead of the 1-5 dots in MicroCode-classic) |
| 31 | + |
| 32 | +- Math (+, -, \*, /) and comparison (=, !=, <, >) operators |
| 33 | + |
| 34 | +- Uniform support for sensors |
| 35 | + |
| 36 | +- Lots of changes to improve reliability |
| 37 | + |
| 38 | +## What happened to MicroCode-classic and its features? |
| 39 | + |
| 40 | +While we soon will retire the [MicroCode-classic](https://aka.ms/microcode) web site, we plan to bring back the following features from MicroCode-classic: |
| 41 | + |
| 42 | +- Option to use 1-5 dots, instead of decimal notation, for beginners. |
| 43 | +- Jacdac services |
| 44 | +- Robot cars |
| 45 | +- Localization |
27 | 46 |
|
28 | 47 | ## Development |
29 | 48 |
|
30 | | -To contribute to MicroCode, please read about [MicroCode development](./docs/develop.md). |
| 49 | +See [https://github.com/microbit-apps](https://github.com/microbit-apps) for more information on developing micro:bit apps such as MicroCode. |
31 | 50 |
|
32 | 51 | ## Contributing |
33 | 52 |
|
34 | | -This project welcomes contributions and suggestions. |
| 53 | +[This project](https://github.com/microbit-apps/microcode-v2) welcomes contributions and suggestions. |
0 commit comments