Skip to content

Commit cc01c0f

Browse files
Latest updates for MakeCode and DAPLink (#193)
* latest info on DAPLink and MakeCode * Use Sanity download locations for DAPLink
1 parent 18ff8f7 commit cc01c0f

File tree

12 files changed

+21
-30665
lines changed

12 files changed

+21
-30665
lines changed
Loading
Loading

latest-revision/latest-revision-main.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ These are the V2 features and whether we expect them to work as expected ✅ or
8484

8585
| **Feature** | **Codal** | **MakeCode** | **MakeCode Simulator** | **MicroPython** |
8686
| ---------------- | --------- | ------------ | ---------------------- | --------------- |
87-
| Microphone ||| 🛑 ||
87+
| Microphone ||| ||
8888
| Speaker ||| 🛑 ||
89-
| Logo touch ||| 🛑 ||
89+
| Logo touch ||| ||
9090
| Power management ||| 🛑 | 🛑 |
9191
| Sound emoji || 🔶 | 🛑 | 🛑 |
9292

@@ -106,15 +106,15 @@ When they are finalised, we will notify people via the [DAL, Editors and Devices
106106
| On Logo pressed `input.onLogoPressed()` | ![logo pressed](/docs/latest-revision/assets/makecode-blocks/onLogoPressed.png){: width="125"} || |
107107
| On logo released `input.onLogoReleased()` | ![logo released](/docs/latest-revision/assets/makecode-blocks/onLogoReleased.png){: width="125"} || |
108108
| Logo is pressed `input.logoIsPressed()` | ![logo is pressed](/docs/latest-revision/assets/makecode-blocks/logoIsPressed.png){: width="150"} || |
109-
| Enable/Disable speaker `music.setOnBoardSpeakerEnable(false)` - Edge connector will still output sound | ![speaker enabled](/docs/latest-revision/assets/makecode-blocks/speakerEnabled.png){: width="650"} || |
109+
| Set on-board speaker On/Off `music.setOnBoardSpeakerEnable(false)` - Edge connector will still output sound | ![speaker disabled](/docs/latest-revision/assets/makecode-blocks/speakerDisabled.png){: width="650"} || |
110110
| Set sound threshold level `input.setSoundThreshold(SoundType.Loud, 128)` - 0-255 threshold for triggering a 'loud' or 'quiet' sound | ![sound threshold](/docs/latest-revision/assets/makecode-blocks/setSoundThreshold.png){: width="650"} || |
111111
| Sound level - returns a filtered 'noise level' not raw microphone samples, useful for eg. 'how noisy is my classroom?' `input.soundLevel()` | ![sound level](/docs/latest-revision/assets/makecode-blocks/soundLevel.png){: width="125"} | 🔶 On battery, the 'soundLevel' reported for quiet sounds is higher than the level reported on USB. |[codal-microbit#131](https://github.com/microbit-foundation/codal-microbit/issues/131) |
112-
| Volume `music.volume` returns current volume | ![volume](/docs/latest-revision/assets/makecode-blocks/volume.png){: width="90"} || |
112+
| Play sound `soundExpression.giggle.play()`/`soundExpression.giggle.playUntilDone()` - Play from a selection of pre-defined sound emoji | ![play sound](/docs/latest-revision/assets/makecode-blocks/playSound.png){: width="650"} || |
113113

114114
### Python APIs
115115

116116
| API | Usage | Status | GitHub Issues |
117-
| ------------------------------------------ | ------------ | ------------------------------ | ------------- |
117+
| ------------------------------------------ | ------------ | ---------------------------- | ------------- |
118118
| Choose music/pitch output pin | `music.play(music.JUMP_UP, pin=microbit.pin_speaker, wait=True)` || |
119119
| Stop music on pin | `music.stop(pin=microbit.pin_speaker)` || |
120120
| Set the volume 0-255 | `microbit.set_volume(128)` || |
@@ -138,21 +138,20 @@ Features that are common to all board variants will work in the same way they al
138138

139139
### MakeCode
140140

141-
You can use the latest board revision in the beta editor [https://makecode.microbit.org/beta](https://makecode.microbit.org/beta)
141+
### Makecode
142+
You can use the latest board revision in the beta editor [https://makecode.microbit.org/beta](https://makecode.microbit.org/beta) alongside the current revision. This editor does not yet have support for V2 features.
142143

143144
#### Using the new features in MakeCode
144145

145-
An extension has been developed to include the microphone and logo touch features currently available. [https://github.com/microbit-foundation/pxt-microbit-v2-extension](https://github.com/microbit-foundation/pxt-microbit-v2-extension)
146-
147-
1. Open [https://makecode.microbit.org/beta](https://makecode.microbit.org/beta)
148-
2. Select Advanced > Add Extension and paste [https://github.com/microbit-foundation/pxt-microbit-v2-extension](https://github.com/microbit-foundation/pxt-microbit-v2-extension) into the search box.
149-
3. Click on the extension to add it to the toolbox.
146+
An alpha version of the MakeCode editor that includes the latest V2 feature blocks is available at [https://makecode.microbit.org/v3.1](https://makecode.microbit.org/v3.1)
150147

151148
#### V2 MakeCode APIs
152149

153150
The Microphone and Logo touch features can be found in the Input menu
154151

155-
The Speaker features can be found in the music menu
152+
The Speaker features can be found in the Music menu
153+
154+
The Capacative/Resistive touch mode can be found in the Pins menu
156155

157156
### Python
158157

@@ -191,6 +190,11 @@ If you attempt to use an old .hex file without updating it, the micro:bit will d
191190

192191
If you haven’t already received a device, but would like one in order to test/develop an accessory or editor please contact us at [support@microbit.org](mailto:support@microbit.org?subject=Request%20for%20the%20latest%20micro%3Abit&body=Name%3A%0D%0A%0D%0AAddress%3A%0D%0A%0D%0AContact%20number%3A)
193192

193+
## How do I update the firmware for the latest micro:bit?
194+
The latest micro:bit will ship with the latest DAPLink firmware at version 0255. If you have been testing the latest board or need to re-flash the firmware, it is linked here, but you can also find details about this on our [DAPLink](../software/daplink-interface/) page.
195+
196+
[Download 0255 firmware for V2](https://cdn.sanity.io/files/ajwvhvgo/production/2cfe581e01f533513276485375adec3f00153af5.hex?dl){: .btn.sm-btn download}
197+
194198
## How do I find out more about the hardware and software updates?
195199

196200
Our [DAL, Devices and Editors mailing list](http://eepurl.com/dyRx-v) provides up to date information about the any technical changes regarding the micro:bit.

0 commit comments

Comments
 (0)