pxt-microbit 7.1.13 → 7.1.15

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 (25) hide show
  1. package/README.md +1 -2
  2. package/built/block-tests.js +1 -1
  3. package/built/common-sim.d.ts +1 -0
  4. package/built/common-sim.js +7 -0
  5. package/built/hexcache/{62d118def080a75f4b90d209ebe58cd840107cd7ac1117a03048f9f3a9ba459b.hex → 55639532a88cab7365a995dd19138a4085b2435262f5783f2cc2204a1e210a6c.hex} +10896 -10895
  6. package/built/hexcache/{fdf1ab3d8ac409b08a7bad3101a8cf88efd749b98912bfca0a660343ba9ffbb2.hex → c5a9e0a8ad381a258b95357cf7aa140734c79ef987eb172003e8571d37bb6fbf.hex} +2885 -2883
  7. package/built/hexcache/{f87dd6f924d49825ab4194658e7dd59cbdcf515452bdad421a017a6c6d4d5653.hex → f254b35661aec9c97b86444b02fe17ed0fa65ad03b8ab65dd2ef6c66e74259fe.hex} +2492 -2492
  8. package/built/hexcache/{953452662f79855758a87af818a099e09ef3e0dbdf688053dca6821efeafd26b.hex → f9d55de9d2511f3a9625351415d9c95513d63a475e4a4c9f23db905d22e80af0.hex} +9783 -9783
  9. package/built/sim.d.ts +1 -0
  10. package/built/sim.js +7 -0
  11. package/built/target.js +1 -1
  12. package/built/target.json +1 -1
  13. package/built/targetlight.json +1 -1
  14. package/built/web/react-common-authcode.css +1 -1
  15. package/built/web/react-common-multiplayer.css +1 -1
  16. package/built/web/react-common-skillmap.css +1 -1
  17. package/built/web/rtlreact-common-authcode.css +1 -1
  18. package/built/web/rtlreact-common-multiplayer.css +1 -1
  19. package/built/web/rtlreact-common-skillmap.css +1 -1
  20. package/built/web/rtlsemantic.css +1 -1
  21. package/built/web/semantic.css +1 -1
  22. package/docs/projects/reaction-time/code.md +88 -0
  23. package/docs/test/courses/csintro.md +6 -5
  24. package/package.json +4 -4
  25. package/targetconfig.json +1 -1
package/built/sim.d.ts CHANGED
@@ -901,6 +901,7 @@ declare namespace pxsim.control {
901
901
  let runInParallel: typeof thread.runInBackground;
902
902
  let delay: typeof thread.pause;
903
903
  function reset(): void;
904
+ function singleSimulator(): void;
904
905
  function waitMicros(micros: number): void;
905
906
  function deviceName(): string;
906
907
  function _ramSize(): number;
package/built/sim.js CHANGED
@@ -5384,6 +5384,13 @@ var pxsim;
5384
5384
  const cb = pxsim.getResume();
5385
5385
  }
5386
5386
  control.reset = reset;
5387
+ function singleSimulator() {
5388
+ pxsim.Runtime.postMessage({
5389
+ type: "simulator",
5390
+ command: "single"
5391
+ });
5392
+ }
5393
+ control.singleSimulator = singleSimulator;
5387
5394
  function waitMicros(micros) {
5388
5395
  pxsim.thread.pause(micros / 1000); // it prempts not much we can do here.
5389
5396
  }