From 3d3332faa18e3efb43d6140c54ab67e6bcf6faad Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 21 Mar 2016 16:49:21 -0700 Subject: [PATCH] removed default value for plotbargraph --- libs/microbit/led.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/microbit/led.ts b/libs/microbit/led.ts index 457fd699..36abee45 100644 --- a/libs/microbit/led.ts +++ b/libs/microbit/led.ts @@ -67,7 +67,7 @@ namespace led { */ //% help=/functions/plot-bar-graph weight=20 //% blockId=device_plot_bar_graph block="plot bar graph of %value |up to %high" icon="\uf080" blockExternalInputs=true - export function plotBarGraph(value: number, high: number = 1023): void { + export function plotBarGraph(value: number, high: number): void { writeString(value.toString() + "\r\n");