pxt-microbit 4.1.36 → 4.1.39

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.
@@ -24,6 +24,10 @@ for (let i = 0; i < 5; i++) {
24
24
  }
25
25
  ```
26
26
 
27
+ ## Advanced
28
+
29
+ If `ms` is `NaN` (not a number), it will default to `20` ms.
30
+
27
31
  ## See also
28
32
 
29
33
  [while](/blocks/loops/while), [running time](/reference/input/running-time), [for](/blocks/loops/for)
@@ -37,6 +37,10 @@ for (let i = 0; i < 6; i++) {
37
37
  }
38
38
  ```
39
39
 
40
+ ## Advanced
41
+
42
+ If `value` is `NaN` (not a number), `?` is displayed.
43
+
40
44
  ## Other show functions
41
45
 
42
46
  * Use [show string](/reference/basic/show-string) to show a [String](/types/string) with letters on the screen.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-microbit",
3
- "version": "4.1.36",
3
+ "version": "4.1.39",
4
4
  "description": "micro:bit target for Microsoft MakeCode (PXT)",
5
5
  "keywords": [
6
6
  "JavaScript",
@@ -44,7 +44,7 @@
44
44
  "typescript": "4.2.3"
45
45
  },
46
46
  "dependencies": {
47
- "pxt-common-packages": "9.5.7",
48
- "pxt-core": "7.5.34"
47
+ "pxt-common-packages": "9.5.10",
48
+ "pxt-core": "7.5.38"
49
49
  }
50
50
  }
package/targetconfig.json CHANGED
@@ -194,7 +194,6 @@
194
194
  "microsoft/ExpressivePixelsMakeCode",
195
195
  "pimoroni/pxt-inkybit",
196
196
  "MUSELAB/pxt-muselab-oled-v2",
197
- "microsoft/pxt-jacdac",
198
197
  "CoolGuy-official/pxt-coolguy",
199
198
  "Bouw-je-BEP/Bouw-je-BEP",
200
199
  "BirdBrainTechnologies/pxt-finch",
@@ -249,7 +248,76 @@
249
248
  "4tronix/Theta",
250
249
  "bsiever/microbit-pxt-blehid",
251
250
  "DFRobot/pxt-DFRobot_Environment_Science",
252
- "ekkai/aicococam"
251
+ "ekkai/aicococam",
252
+
253
+ "microsoft/pxt-jacdac",
254
+ "microsoft/pxt-jacdac/accelerometer",
255
+ "microsoft/pxt-jacdac/acidity",
256
+ "microsoft/pxt-jacdac/air-pressure",
257
+ "microsoft/pxt-jacdac/air-quality-index",
258
+ "microsoft/pxt-jacdac/arcade-gamepad",
259
+ "microsoft/pxt-jacdac/azure-iot-hub-health",
260
+ "microsoft/pxt-jacdac/button",
261
+ "microsoft/pxt-jacdac/buzzer",
262
+ "microsoft/pxt-jacdac/character-screen",
263
+ "microsoft/pxt-jacdac/codal-message-bus",
264
+ "microsoft/pxt-jacdac/color",
265
+ "microsoft/pxt-jacdac/compass",
266
+ "microsoft/pxt-jacdac/dc-current-measurement",
267
+ "microsoft/pxt-jacdac/dc-voltage-measurement",
268
+ "microsoft/pxt-jacdac/distance",
269
+ "microsoft/pxt-jacdac/dmx",
270
+ "microsoft/pxt-jacdac/dot-matrix",
271
+ "microsoft/pxt-jacdac/dual-motors",
272
+ "microsoft/pxt-jacdac/e-co2",
273
+ "microsoft/pxt-jacdac/flex",
274
+ "microsoft/pxt-jacdac/gamepad",
275
+ "microsoft/pxt-jacdac/gyroscope",
276
+ "microsoft/pxt-jacdac/heart-rate",
277
+ "microsoft/pxt-jacdac/hid-joystick",
278
+ "microsoft/pxt-jacdac/hid-keyboard",
279
+ "microsoft/pxt-jacdac/hid-mouse",
280
+ "microsoft/pxt-jacdac/humidity",
281
+ "microsoft/pxt-jacdac/illuminance",
282
+ "microsoft/pxt-jacdac/led",
283
+ "microsoft/pxt-jacdac/led-single",
284
+ "microsoft/pxt-jacdac/led-strip",
285
+ "microsoft/pxt-jacdac/light-bulb",
286
+ "microsoft/pxt-jacdac/light-level",
287
+ "microsoft/pxt-jacdac/magnetic-field-level",
288
+ "microsoft/pxt-jacdac/magnetometer",
289
+ "microsoft/pxt-jacdac/model-runner",
290
+ "microsoft/pxt-jacdac/motion",
291
+ "microsoft/pxt-jacdac/motor",
292
+ "microsoft/pxt-jacdac/multitouch",
293
+ "microsoft/pxt-jacdac/potentiometer",
294
+ "microsoft/pxt-jacdac/power",
295
+ "microsoft/pxt-jacdac/pulse-oximeter",
296
+ "microsoft/pxt-jacdac/rain-gauge",
297
+ "microsoft/pxt-jacdac/real-time-clock",
298
+ "microsoft/pxt-jacdac/reflected-light",
299
+ "microsoft/pxt-jacdac/relay",
300
+ "microsoft/pxt-jacdac/rng",
301
+ "microsoft/pxt-jacdac/rotary-encoder",
302
+ "microsoft/pxt-jacdac/sensor-aggregator",
303
+ "microsoft/pxt-jacdac/servo",
304
+ "microsoft/pxt-jacdac/seven-segment-display",
305
+ "microsoft/pxt-jacdac/soil-moisture",
306
+ "microsoft/pxt-jacdac/solenoid",
307
+ "microsoft/pxt-jacdac/sound-level",
308
+ "microsoft/pxt-jacdac/speech-synthesis",
309
+ "microsoft/pxt-jacdac/switch",
310
+ "microsoft/pxt-jacdac/tcp",
311
+ "microsoft/pxt-jacdac/temperature",
312
+ "microsoft/pxt-jacdac/traffic-light",
313
+ "microsoft/pxt-jacdac/tvoc",
314
+ "microsoft/pxt-jacdac/uv-index",
315
+ "microsoft/pxt-jacdac/vibration-motor",
316
+ "microsoft/pxt-jacdac/water-level",
317
+ "microsoft/pxt-jacdac/weight-scale",
318
+ "microsoft/pxt-jacdac/wifi",
319
+ "microsoft/pxt-jacdac/wind-direction",
320
+ "microsoft/pxt-jacdac/wind-speed"
253
321
  ],
254
322
  "preferredRepos": [
255
323
  "Microsoft/pxt-neopixel",
@@ -1771,7 +1839,9 @@
1771
1839
  "rebeccaclavier/pxt-bmp280": "dv:mbcodal",
1772
1840
  "mu-opensource/pxt-muvision": "min:v1.2.28",
1773
1841
  "elecfreaks/pxt-PlanetX": "min:v0.13.1",
1774
- "bsiever/microbit-pxt-timeanddate": "min:v2.0.11"
1842
+ "bsiever/microbit-pxt-timeanddate": "min:v2.0.11",
1843
+
1844
+ "microsoft/pxt-jacdac": "min:v0.10.40"
1775
1845
  },
1776
1846
  "approvedEditorExtensionUrls": [
1777
1847
  "https://microsoft.github.io/ml4f/",