From 26a394ae7159fbaca6d1f82d1bc4f4d7072f1498 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 8 Mar 2018 13:11:13 -0800 Subject: [PATCH] fixing plotled to use writeLine --- libs/core/led.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;