Skip to content

Commit 9f95733

Browse files
committed
fix: correct formatting in PATTERNS and remove debug log from drawMatrix method
1 parent 956c81d commit 9f95733

File tree

1 file changed

+1
-2
lines changed
  • scratch-prg-extensions/extensions/src/arduino_basics

1 file changed

+1
-2
lines changed

scratch-prg-extensions/extensions/src/arduino_basics/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const PATTERNS = {
4343
[7, 0, 7, 7, 7, 0, 7, 0, 7, 7, 7, 0, 7],
4444
[7, 0, 0, 0, 0, 0, 7, 0, 0, 7, 0, 0, 7],
4545
[0, 7, 0, 0, 0, 7, 0, 7, 0, 0, 0, 7, 0],
46-
[0, 0, 7, 7, 7, 0, 0, 0, 7, 7, 7, 0, 0]
46+
[0, 0, 7, 7, 7, 0, 0, 0, 7, 7, 7, 0, 0],
4747
] as number[][],
4848
empty: Array(8).fill(null).map(() => Array(13).fill(0)) as number[][],
4949
} as const;
@@ -83,7 +83,6 @@ export default class ArduinoBasics extends extension(details, "ui", "customArgum
8383
return tag`draw ${arg} matrix`;
8484
})
8585
drawMatrix(matrix: number[][]) {
86-
console.log("atic sendnd", matrix);
8786
var matrixString = matrix.flat().join("");
8887
console.log("received matrix update", matrixString);
8988
if (this.socket) {

0 commit comments

Comments
 (0)