fixing plotled to use writeLine
This commit is contained in:
parent
c9963f7a56
commit
26a394ae71
@ -20,7 +20,7 @@
|
|||||||
//% parts="ledmatrix"
|
//% parts="ledmatrix"
|
||||||
export function plotBarGraph(value: number, high: number): void {
|
export function plotBarGraph(value: number, high: number): void {
|
||||||
let now = input.runningTime();
|
let now = input.runningTime();
|
||||||
serial.writeString(value.toString() + "\r\n");
|
serial.writeLine(value.toString());
|
||||||
value = Math.abs(value);
|
value = Math.abs(value);
|
||||||
|
|
||||||
if (high != 0) barGraphHigh = high;
|
if (high != 0) barGraphHigh = high;
|
||||||
|
Loading…
Reference in New Issue
Block a user