pxt-microbit 4.0.12 → 4.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/built/hexcache/{b2e08efad14a6680dc3a2942b93acef42d2045d9f2907e7fe5926264d0c04310.hex → 6526a3337377701ca7bf1d9940f76fdccac145405380ee3ecc2c96f6049e34ce.hex} +10240 -10251
  2. package/built/hexcache/{8cf431acbfd0538188a30333695c29dc120ffe3e58cc5c076bdf928db97027da.hex → 8fc8a1499d69a5d8cc851cf49d16112b3021ab801238204dacf84073acf90e7c.hex} +10835 -10846
  3. package/built/target-strings.json +2 -1
  4. package/built/target.js +38 -30
  5. package/built/target.json +38 -30
  6. package/built/targetlight.json +5 -5
  7. package/docs/blocks/comments.md +131 -0
  8. package/docs/blocks/loops.md +12 -0
  9. package/docs/extensions.md +40 -0
  10. package/docs/projects/SUMMARY.md +7 -1
  11. package/docs/projects/micro-chat.md +8 -8
  12. package/docs/projects/mood-radio.md +3 -1
  13. package/docs/projects/multi-dice.md +8 -6
  14. package/docs/projects/plot-acceleration.md +2 -2
  15. package/docs/projects/v2-blow-away.md +317 -0
  16. package/docs/projects/v2-clap-lights.md +195 -0
  17. package/docs/projects/v2-countdown.md +151 -0
  18. package/docs/projects/v2-morse-chat.md +297 -0
  19. package/docs/projects/v2-pet-hamster.md +165 -0
  20. package/docs/projects.md +8 -2
  21. package/docs/reference/basic/forever.md +17 -4
  22. package/docs/reference/basic/show-number.md +1 -1
  23. package/docs/reference/loops/every-interval.md +42 -0
  24. package/docs/reference/radio/on-received-buffer.md +1 -0
  25. package/docs/reference/radio/on-received-number.md +2 -0
  26. package/docs/reference/radio/on-received-string.md +1 -0
  27. package/docs/reference/radio/on-received-value.md +1 -0
  28. package/docs/reference/radio/received-packet.md +1 -0
  29. package/docs/reference/radio/send-buffer.md +1 -0
  30. package/docs/reference/radio/send-string.md +1 -0
  31. package/docs/reference/radio/set-group.md +8 -0
  32. package/docs/reference/radio/write-received-packet-to-serial.md +1 -0
  33. package/docs/reference/radio/write-value-to-serial.md +1 -0
  34. package/docs/v2tutorials.md +39 -0
  35. package/package.json +1 -1
  36. package/pxtarget.json +1 -1
  37. package/targetconfig.json +23 -6
@@ -29,6 +29,7 @@ the second @boardname@), this program sends temperature data to
29
29
  serial.
30
30
 
31
31
  ```blocks
32
+ radio.setGroup(1)
32
33
  input.onButtonPressed(Button.A, () => {
33
34
  radio.sendNumber(input.temperature());
34
35
  });
@@ -0,0 +1,39 @@
1
+ # Projects
2
+
3
+ Here are some cool tutorials to get you started with your new @boardname@ (V2)!
4
+
5
+ ## Basic
6
+
7
+ ```codecard
8
+ [{
9
+ "name": "Pet Hamster",
10
+ "url":"/projects/v2-pet-hamster",
11
+ "description": "Interact with your very own micro:bit hamster named Cyrus.",
12
+ "imageUrl": "/static/mb/projects/pet-hamster.png",
13
+ "cardType": "tutorial"
14
+ }, {
15
+ "name": "Countdown",
16
+ "url":"/projects/v2-countdown",
17
+ "description": "Create a musical countdown sequence.",
18
+ "imageUrl": "/static/mb/projects/countdown.png",
19
+ "cardType": "tutorial"
20
+ }, {
21
+ "name": "Morse Chat",
22
+ "url":"/projects/v2-morse-chat",
23
+ "description": "Learn how to send morse code messages to a pig named Sky.",
24
+ "imageUrl": "/static/mb/projects/morse-chat.png",
25
+ "cardType": "tutorial"
26
+ }, {
27
+ "name": "Clap Lights",
28
+ "url":"/projects/v2-clap-lights",
29
+ "description": "Turn your micro:bit's lights on or off when you clap.",
30
+ "imageUrl": "/static/mb/projects/clap-lights.png",
31
+ "cardType": "tutorial"
32
+ }, {
33
+ "name": "Blow Away",
34
+ "url":"/projects/v2-blow-away",
35
+ "description": "Use the sound of your breath to blow a ghost named Haven away.",
36
+ "imageUrl": "/static/mb/projects/blow-away.png",
37
+ "cardType": "tutorial"
38
+ }]
39
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-microbit",
3
- "version": "4.0.12",
3
+ "version": "4.0.13",
4
4
  "description": "micro:bit target for Microsoft MakeCode (PXT)",
5
5
  "keywords": [
6
6
  "JavaScript",
package/pxtarget.json CHANGED
@@ -164,7 +164,7 @@
164
164
  "codalTarget": {
165
165
  "name": "codal-microbit-v2",
166
166
  "url": "https://github.com/lancaster-university/codal-microbit-v2",
167
- "branch": "v0.2.33",
167
+ "branch": "v0.2.32",
168
168
  "type": "git"
169
169
  },
170
170
  "codalBinary": "MICROBIT",
package/targetconfig.json CHANGED
@@ -206,18 +206,34 @@
206
206
  "microsoft/pxt-data-streamer",
207
207
  "iBuilds/pxt-PTKidsBIT-Robot",
208
208
  "4tronix/EggBit",
209
- "joy-it/SEN-MPU6050"
209
+ "joy-it/SEN-MPU6050",
210
+ "gomakekit/Hoverbit_V2",
211
+ "Matrix-Robotics/pxt-MatrixMicro",
212
+ "elecfreaks/pxt-PlanetX-AI",
213
+ "joy-it/pxt-SEN-Color",
214
+ "stemhub/pxt-Stemhubbit",
215
+ "KitronikLtd/pxt-kitronik-lab-bit",
216
+ "KitronikLtd/pxt-kitronik-128x64Display",
217
+ "monkmakes/monkmakes-7-segment",
218
+ "stemhub/pxt-StemhubCity",
219
+ "KittenBot/pxt-powerbrick"
210
220
  ],
211
221
  "preferredRepos": [
212
222
  "Microsoft/pxt-neopixel",
213
- "Microsoft/pxt-microturtle",
214
- "Tinkertanker/pxt-tinkercademy-tinker-kit",
223
+ "4tronix/BitBot",
224
+ "dfrobot/pxt-maqueen",
215
225
  "kittenbot/pxt-robotbit",
216
226
  "Microsoft/pxt-sonar",
217
- "4tronix/BitBot",
227
+ "Microsoft/pxt-microturtle",
228
+ "Tinkertanker/pxt-tinkercademy-tinker-kit",
229
+ "seeed-studio/pxt-grove",
230
+ "elecfreaks/pxt-cutebot",
231
+ "dfrobot/pxt-dfrobot-maqueenplus",
232
+ "tinkertanker/pxt-iot-environment-kit",
233
+ "tinkertanker/pxt-ringbitcar",
218
234
  "kitronikltd/pxt-kitronik-servo-lite",
219
235
  "kitronikltd/pxt-kitronik-motor-driver",
220
- "Tinkertanker/pxt-ringbitcar"
236
+ "tinkertanker/pxt-smarthome"
221
237
  ],
222
238
  "upgrades": {
223
239
  "tinkertanker/pxt-iot-environment-kit": "min:v4.2.1",
@@ -259,6 +275,7 @@
259
275
  },
260
276
  "galleries": {
261
277
  "Tutorials": "tutorials",
278
+ "Tutorials for the new micro:bit (V2)": "v2tutorials",
262
279
  "Live Coding": {
263
280
  "url": "live-coding",
264
281
  "shuffle": "daily",
@@ -272,7 +289,7 @@
272
289
  "Science": "projects/science",
273
290
  "Tools": "projects/tools",
274
291
  "Turtle": "projects/turtle",
275
- "Blocks To JavaScript": "courses/blocks-to-javascript",
292
+ "Blocks to JavaScript": "courses/blocks-to-javascript",
276
293
  "Courses": "courses",
277
294
  "Behind the MakeCode Hardware": {
278
295
  "url": "behind-the-makecode-hardware",