pxt-microbit 7.1.23 → 7.1.24

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.
@@ -380,6 +380,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
380
380
 
381
381
  ```codecard
382
382
  [{
383
+ "name": "BP Lab micro:bit Kit",
384
+ "url": "/pkg/team-bp/pxt-bplab",
385
+ "cardType": "package"
386
+ }, {
383
387
  "name": "Smarthon Smart City",
384
388
  "url": "/pkg/SMARTHON/pxt-smartcity",
385
389
  "cardType": "package"
@@ -454,6 +458,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
454
458
 
455
459
  ```codecard
456
460
  [{
461
+ "name": "ZHAW Luma Matrix",
462
+ "url":"/pkg/InES-HPMM/pxt-luma-matrix",
463
+ "cardType": "package"
464
+ }, {
457
465
  "name": "Kitronik Lamp:Bit",
458
466
  "url":"/pkg/KitronikLtd/pxt-kitronik-lampbit",
459
467
  "cardType": "package"
@@ -521,6 +529,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
521
529
 
522
530
  ```codecard
523
531
  [{
532
+ "name": "DFRobot Creative Robotics Kit",
533
+ "url":"/pkg/DFRobot/pxt-DFRobot_creative-robotics-kit",
534
+ "cardType": "package"
535
+ }, {
524
536
  "name": "Elecfreaks XGO Rider",
525
537
  "url":"/pkg/elecfreaks/XGO-Rider",
526
538
  "cardType": "package"
@@ -0,0 +1,25 @@
1
+ # @extends
2
+
3
+ ## Example #example
4
+
5
+ Send a ``Hello`` message when button ``A`` is pressed, ``Goodbye`` when button ``B`` is pressed. If the messages are received, display either a ``heart`` or a ``scissor`` for the messages.
6
+
7
+ ```blocks
8
+ enum RadioMessage {
9
+ message1 = 49434,
10
+ Hello = 49337,
11
+ Goodbye = 16885
12
+ }
13
+ input.onButtonPressed(Button.A, function () {
14
+ radio.sendMessage(RadioMessage.Hello)
15
+ })
16
+ radio.onReceivedMessage(RadioMessage.Hello, function () {
17
+ basic.showIcon(IconNames.Heart)
18
+ })
19
+ input.onButtonPressed(Button.B, function () {
20
+ radio.sendMessage(RadioMessage.Goodbye)
21
+ })
22
+ radio.onReceivedMessage(RadioMessage.Goodbye, function () {
23
+ basic.showIcon(IconNames.Scissors)
24
+ })
25
+ ```
@@ -0,0 +1,25 @@
1
+ # @extends
2
+
3
+ ## Example #example
4
+
5
+ Send a ``Hello`` message when button ``A`` is pressed, ``Goodbye`` when button ``B`` is pressed. If the messages are received, display either a ``heart`` or a ``scissor`` for the messages.
6
+
7
+ ```blocks
8
+ enum RadioMessage {
9
+ message1 = 49434,
10
+ Hello = 49337,
11
+ Goodbye = 16885
12
+ }
13
+ input.onButtonPressed(Button.A, function () {
14
+ radio.sendMessage(RadioMessage.Hello)
15
+ })
16
+ radio.onReceivedMessage(RadioMessage.Hello, function () {
17
+ basic.showIcon(IconNames.Heart)
18
+ })
19
+ input.onButtonPressed(Button.B, function () {
20
+ radio.sendMessage(RadioMessage.Goodbye)
21
+ })
22
+ radio.onReceivedMessage(RadioMessage.Goodbye, function () {
23
+ basic.showIcon(IconNames.Scissors)
24
+ })
25
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-microbit",
3
- "version": "7.1.23",
3
+ "version": "7.1.24",
4
4
  "description": "micro:bit target for Microsoft MakeCode (PXT)",
5
5
  "keywords": [
6
6
  "JavaScript",
@@ -45,7 +45,7 @@
45
45
  "typescript": "4.8.3"
46
46
  },
47
47
  "dependencies": {
48
- "pxt-common-packages": "12.2.2",
49
- "pxt-core": "11.3.20"
48
+ "pxt-common-packages": "12.3.2",
49
+ "pxt-core": "11.4.4"
50
50
  }
51
51
  }
package/pxtarget.json CHANGED
@@ -191,7 +191,7 @@
191
191
  "mbcodal": {
192
192
  "compile": {
193
193
  "flashCodeAlign": 4096,
194
- "flashUsableEnd": 487424,
194
+ "flashUsableEnd": 471040,
195
195
  "flashEnd": 524288
196
196
  },
197
197
  "compileService": {
@@ -495,6 +495,8 @@
495
495
  "functions": "#3455DB",
496
496
  "arrays": "#E65722"
497
497
  },
498
+ "defaultColorTheme": "microbit-light",
499
+ "highContrastColorTheme": "pxt-high-contrast",
498
500
  "blocksCollapsing": true,
499
501
  "highContrast": true,
500
502
  "greenScreen": true,
package/targetconfig.json CHANGED
@@ -472,6 +472,9 @@
472
472
  "parallaxinc/cyberbot_makecode": { "tags": [ "Robotics" ] },
473
473
  "siyeenove/pxt_mcar": { "tags": [ "Robotics" ] },
474
474
  "elecfreaks/xgo-rider": { "tags": [ "Robotics" ] },
475
+ "dfrobot/pxt-dfrobot_creative-robotics-kit": { "tags": [ "Robotics" ] },
476
+ "ines-hpmm/pxt-luma-matrix": { "tags": [ "Lights and Display" ] },
477
+ "team-bp/pxt-bplab": { "tags": [ "Science" ] },
475
478
  "microsoft/pxt-simx-sample": {
476
479
  "simx": {
477
480
  "sha": "7301f5900879b85127482d79bab48f03c25690a8",