diff --git a/libs/core/led.ts b/libs/core/led.ts index 0423f91e..946c3471 100644 --- a/libs/core/led.ts +++ b/libs/core/led.ts @@ -20,7 +20,7 @@ //% parts="ledmatrix" export function plotBarGraph(value: number, high: number): void { let now = input.runningTime(); - serial.writeString(value.toString() + "\r\n"); + serial.writeLine(value.toString()); value = Math.abs(value); if (high != 0) barGraphHigh = high;