You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: accessories/making-accessories.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,19 @@ A [list of available accessories](https://microbit.org/buy/accessories/) is main
14
14
15
15
## Using the Edge Connector
16
16
17
-
The micro:bit card edge connector, commonly referred to as the 'edge connector' or the 'pins' makes accessory design easy.
17
+
The micro:bit[card edge connector](/hardware/edgeconnector), commonly referred to as the 'edge connector' or the 'pins', is compatible with a standard 1.27mm, 2x40 edge connector socket.
18
18
19
-
Many micro:bit accessories are designed to use an edge connector socket, so it is simple to plug in and remove the board.
19
+
Where possible your accessory design should implement this socket, making it simple for your users to plug in and remove the micro:bit board.
20
20
21
-
There are limitations to the current that can be drawn from the micro:bit, and accessories must be designed carefully to ensure they do not damage the micro:bit, or that the micro:bit cannot damage them.
21
+
There are [limitations to the current that can be drawn from the micro:bit](/hardware/powersupply), accessories must be designed carefully to ensure they do not damage the micro:bit, or that the micro:bit cannot damage them.
22
+
23
+
-[micro:bit edge connector and pinout](/hardware/edgeconnector)
24
+
-[powering accessories from the micro:bit](/hardware/powersupply)
22
25
23
26
### V2 revision
24
27
25
28
The edge connector on the <spanclass="V2">V2</span> board revision is backwards compatible with the <spanclass="v1">V1</span> edge connector, but has additional dedicated pins.
26
29
27
-
- Details of the [edge connector and pinout](/hardware/edgeconnector)
28
-
- Details about [powering things from the board](/hardware/powersupply)
29
-
30
30
## Battery Pads
31
31
32
32
There are two rounded rectangular pads on the back of the micro:bit. These allow you to connect a battery holder via a mechanism other than the JST connector.
Copy file name to clipboardexpand all lines: bluetooth/apps-and-examples.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Below is a curated list of some Bluetooth applications you might like to read ab
17
17
18
18
## Applications, tools and examples
19
19
20
-
-[Android App](https://play.google.com/store/apps/details?id=com.samsung.microbit) facilitates [pairing and flashing programs to the micro:bit](https://support.microbit.org/en/support/solutions/articles/19000051025-pairing-and-flashing-code-via-bluetooth)
20
+
-[Android App](https://play.google.com/store/apps/details?id=com.samsung.microbit) facilitates [pairing and flashing programs to the micro:bit](https://support.microbit.org/en/support/solutions/articles/19000051025-pairing-and-flashing-code-via-bluetooth). The app was originally developed by Samsung and is now maintained by the Micro:bit Educational Foundation. The [micro:bit android app source code](https://github.com/microbit-foundation/microbit-android/) can be found on GitHub.
21
21
22
22
-[iOS App](https://apps.apple.com/gb/app/micro-bit/id1092687276) faciliates [pairing and flashing programs to the micro:bit](https://support.microbit.org/en/support/solutions/articles/19000051025-pairing-and-flashing-code-via-bluetooth)
@@ -109,6 +116,11 @@ The API is currently available in [Chrome based browsers](https://caniuse.com/#f
109
116
110
117
## Updating the DAPLink full image
111
118
119
+
<divclass="alert alert-danger">Please note - there is almost no situtation in the normal use of the micro:bit where this step will be necessary. We have documented it here in the interests of making the the micro:bit more friendly to developers who want to experiement with the code on the KL27. If your microbit enumerates in MAINTENANCE or MICROBIT mode you should never need to perform these steps</div>
120
+
121
+
122
+
**Please only use use these steps if you are familiar with USB bootloaders and command line tools. You should never need to perform these to update a micro:bit.**
123
+
112
124
You can also flash a full DAPLink image to the <spanclass="v2">V2</span> device using the KL27 internal bootloader. This will update both interface and bootloader.
113
125
114
126
[Download latest full DAPLink image](https://cdn.sanity.io/files/ajwvhvgo/production/8206bb64b39ecf8f3c205569bc9e2d4158b7963c.bin?dl){: .btn.sm-btn download}
Copy file name to clipboardexpand all lines: software/makecode.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ lang: en
11
11
12
12
## Overview
13
13
14
-
[Microsoft MakeCode for micro:bit](htps://makecode.microbit.org) is a free, open source platform for creating projects with the BBC micro:bit.
14
+
[Microsoft MakeCode for micro:bit](https://makecode.microbit.org) is a free, open source platform for creating projects with the BBC micro:bit.
15
15
16
16
Connect colour-coded blocks that relate to hardware features and Computer Science fundamentals and switch between blocks, JavaScript and MakeCode Python views. A device simulator shows you what will happen on the physical device before you download your program.
17
17
@@ -54,4 +54,4 @@ There are a variety of ways to get involved and interact:
54
54
- Join the [micro:bit developer community on Slack](../../community/)
55
55
- Raise a [MakeCode issue or feature request](https://github.com/Microsoft/pxt-microbit/issues)
56
56
- Ask the MakeCode development team on [MakeCode forum for micro:bit](https://forum.makecode.com/c/microbit/11)
57
-
- Help [Translate MakeCode](https://makecode.com/translate) into your own language.
57
+
- Help [Translate MakeCode](https://makecode.com/translate) into your own language.
Copy file name to clipboardexpand all lines: software/micropython.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,9 @@ This is, in fact, what you're doing when you live-code using the REPL. However,
85
85
86
86
MicroPython uses a combination of compilation and interpretation techniques to run your program. Here's how:
87
87
88
-
When MicroPython sees a script it parses each line of the script. The end result is a set of in-memory tokens grouped in such a way that they represent how your program works. This is called the *parse tree*.
88
+
When MicroPython sees a script it parses each line of the script. The end result is a set of in-memory tokens grouped in such a way that they represent how your program works. This is called the *Abstract Syntax Tree (AST)*.
89
89
90
-
The parse tree is compiled into a terse set of instructions called Python *bytecode*. Bytecode instructions are like CPU assembly language instructions, but they are targeted for a *virtual machine*, not for a real piece of computer hardware.
90
+
The AST is compiled into a terse set of instructions called Python *bytecode*. Bytecode instructions are like CPU assembly language instructions, but they are targeted for a *virtual machine*, not for a real piece of computer hardware.
91
91
92
92
The Python bytecode is given to the Python virtual machine to run and so your program is executed.
Copy file name to clipboardexpand all lines: software/readout_hex.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -28,18 +28,18 @@ This tool has a range of features:
28
28
29
29
You can download the [latest release of the uBitTool GUI Editor](https://github.com/carlosperate/ubittool/releases/) from the GitHub repository and there are [Instructions to read out the contents of a hex file](https://www.embeddedlog.com/ubittool/usage.html) on the website
30
30
31
-
## py-ocd
31
+
## pyOCD
32
32
33
33
This method reads out the .hex file on the micro:bit to a file in your working directory.
34
34
35
35
In order to complete this task you will require some additional tools and libraries:
36
36
37
-
- Linux/Mac OS
38
-
- Python 2 (pyOCD is not supported in Python3)
37
+
-Windows/Linux/Mac OS
38
+
- Python
39
39
-[GNU Project Debugger](https://www.gnu.org/software/gdb/) included as part of [ArmDeveloper GNU Embedded Toolchain](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads)[How to Install](https://gnu-mcu-eclipse.github.io/toolchain/arm/install/)
The method described here has been tested on Mac OS using [Homebrew as a package manager](https://brew.sh/), but should work on Linux. Additional steps are linked to, but it is outside the scope of this article to go through setup.
42
+
The method described here has been tested on Mac OS with a micro:bit V1 using [Homebrew as a package manager](https://brew.sh/), but should work on Linux. Additional steps are linked to, but it is outside the scope of this article to go through setup.
0 commit comments