Skip to content

Commit ecdd7d2

Browse files
committed
udpate
1 parent 6f5f3d6 commit ecdd7d2

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

.github/workflows/makecode-release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
key: ${{ runner.os }}-${{ hashFiles('pxt.json') }}-${{ hashFiles('mkc*json') }}
3030
restore-keys: |
3131
${{ runner.os }}-
32-
- name: npm install makecode@0.34.5
32+
- name: npm install makecode@1.3.4
3333
run: |
34-
npm install -g makecode@0.34.5
34+
npm install -g makecode@1.3.4
3535
- name: build js
3636
run: |
3737
makecode --java-script -u
@@ -41,11 +41,7 @@ jobs:
4141
- name: copy files
4242
run: |
4343
cp ./built/binary.js ./assets/js/binary.js
44-
cp ./built/n3/binary.hex ./assets/firmware.hex
45-
- name: build localized hex files
46-
run: |
47-
yarn install --frozen-lockfile
48-
node ./scripts/lochex.mjs
44+
cp ./built/n3/binary.hex ./assets/microcode.hex
4945
- name: upload modified assets
5046
uses: stefanzweifel/git-auto-commit-action@v4
5147
with:

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
1-
## Microsoft MicroCode [https://aka.ms/microcode](https://aka.ms/microcode)
1+
## MicroCode (version 2)
22

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://github.com/microbit-apps/display-shield) - _no other computer is required!_
44

5-
Here's the classic micro:bit _Happy-A-button/Sad-B-button_ program in MicroCode:
5+
## Getting started with MicroCode
66

7-
![Happy sad program in microcode](./docs/images/generated/sample_smiley_buttons.png)
7+
### With hardware
88

9-
## Getting started
9+
You will need a micro:bit V2 and one of the [display shields for the microbit](https://github.com/microbit-apps/display-shield).
10+
Download the [microcode hex file](./assets/microcode.hex) and copy it your micro:bit.
1011

11-
- **Read the [MicroCode user guide](https://microbit-apps.github.io/microcode-classic/docs/manual)**
12-
- [try it now!](https://microbit-apps.github.io/microcode-classic/#)
12+
### With simulators
1313

14-
## [Arcade shields](https://microbit-apps.github.io/microcode-classic/docs/purchase) for micro:bit V2
14+
You can load this repo into 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 as the URL.
1515

16-
There are various [Arcade shields](https://microbit-apps.github.io/microcode-classic/docs/purchase) available on the market today, as shown below.
16+
## What's new?
1717

18-
<img style="width: 40%" src="https://microsoft.github.io/microcode/assets/newbit-shield.png"></img>
18+
- MicroCode is now built using [MakeCode for the micro:bit](https://makecode.microbit.org/beta), which
19+
provides direct access to all the micro:bit APIs available through MakeCode.
1920

20-
## Robot
21+
- Decimal notation
2122

22-
MicroCode can also be used to [program and control a 2 wheeled rover robot](https://microsoft.github.io/microcode/docs/robot).
23+
- Uniform support for sensors
2324

24-
![robot line following](https://microsoft.github.io/microcode/docs/images/generated/sample_robot_line_follow.png){:class="sample"}
25+
## What happened to?
2526

26-
<img style="width: 40%" src="https://microsoft.github.io/microcode/docs/images/cutebot.jpeg"></img>
27+
We will bring back support for the following features from the original MicroCode:
28+
29+
- Support for 1-5 dots (instead of decimal)
30+
- Jacdac
31+
- Robot cars
32+
- Localization
2733

2834
## Development
2935

30-
To contribute to MicroCode, please read about [MicroCode development](./docs/develop.md).
36+
See [https://github.com/microbit-apps] for more information on developing micro:bit apps such as MicroCode.
3137

3238
## Contributing
3339

0 commit comments

Comments
 (0)