pxt-microbit 5.1.27 → 5.1.29

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.
package/built/sim.d.ts CHANGED
@@ -602,7 +602,7 @@ declare namespace pxsim {
602
602
  readSerial(): string;
603
603
  serialOutBuffer: string;
604
604
  writeSerial(s: string): void;
605
- writeCsv(s: string, type: "headers" | "row"): void;
605
+ writeCsv(s: string, type: "headers" | "row" | "clear"): void;
606
606
  }
607
607
  }
608
608
  declare namespace pxsim.serial {
package/built/sim.js CHANGED
@@ -1331,6 +1331,7 @@ var pxsim;
1331
1331
  logSize = 0;
1332
1332
  committedCols = 0;
1333
1333
  currentRow = undefined;
1334
+ pxsim.board().serialState.writeCsv("", "clear");
1334
1335
  }
1335
1336
  function setTimeStamp(format) {
1336
1337
  init();