Skip to content

Commit 4e1f629

Browse files
committed
Merge branch 'main' of https://github.com/microbit-apps/microcode-v2 into parser
2 parents 374db5b + a140244 commit 4e1f629

File tree

5 files changed

+31481
-8029
lines changed

5 files changed

+31481
-8029
lines changed

.github/workflows/makecode-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
contents: write
1212
strategy:
1313
matrix:
14-
node-version: [16.x]
14+
node-version: [18.x]
1515
steps:
1616
- uses: actions/checkout@v4
1717
with:
@@ -37,10 +37,9 @@ jobs:
3737
makecode
3838
- name: copy files
3939
run: |
40-
cp ./built/binary.js ./assets/js/binary.js
41-
cp ./built/n3/binary.hex ./assets/microcode.hex
40+
cp ./built/binary.hex ./assets/microcode.hex
4241
- name: upload modified assets
4342
uses: stefanzweifel/git-auto-commit-action@v4
4443
with:
45-
file_pattern: "assets/* _includes/*"
44+
file_pattern: "assets/*"
4645
branch: main

.github/workflows/makecode.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,3 @@ jobs:
3737
- name: build hex file
3838
run: |
3939
makecode
40-
- name: copy files
41-
run: |
42-
cp ./built/binary.hex ./assets/microcode.hex
43-
- name: upload modified assets
44-
uses: stefanzweifel/git-auto-commit-action@v4
45-
with:
46-
file_pattern: "assets/*"
47-
branch: main

README.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,40 @@ MicroCode is an icon-based programming language and editor for young learners to
66

77
### With hardware
88

9-
You will need a micro:bit V2 and one of the [display shields for the microbit](https://makecode.microbit.org/pkg/microbit-apps/display-shield).
10-
Download the [microcode hex file](./assets/microcode.hex) and copy it your micro:bit.
9+
To use MicroCode, you will need to:
1110

12-
### With simulators
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.
14+
15+
With the above hardware, in addition to the freely-available MicroCode software, you also
16+
can use these other free programming environments:
17+
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)
20+
21+
### With simulators (no hardware required)
1322

1423
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.
1524

16-
## What's new?
25+
## What's New?
1726

1827
- MicroCode is 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.
28+
provides direct access to all the micro:bit APIs available through MakeCode
29+
30+
- Decimal notation (instead of the 1-5 dots in MicroCode-classic)
2031

21-
- Decimal notation (instead of the 1-5 dots in MicroCode v1)
32+
- Math (+, -, \*, /) and comparison (=, !=, <, >) operators
2233

2334
- Uniform support for sensors
2435

2536
- Lots of changes to improve reliability
2637

27-
## What happened to MicroCode v1 and its cool features?
38+
## What happened to MicroCode-classic and its features?
2839

29-
While we soon will retire the [MicroCode v1](https://aka.ms/microcode) web site, we plan to bring back the following features from MicroCode v1:
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:
3041

31-
- Option to to use 1-5 counting dots, instead of decimal notation, for beginners.
42+
- Option to use 1-5 dots, instead of decimal notation, for beginners.
3243
- Jacdac services
3344
- Robot cars
3445
- Localization

0 commit comments

Comments
 (0)