From f881f637bd399e0b272eb823df33eca6f8a58944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=8D=A3?= <1595243018@qq.com> Date: Mon, 9 Dec 2024 17:34:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20maqueenPlusV2.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maqueenPlusV2.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maqueenPlusV2.ts b/maqueenPlusV2.ts index b850b5e..f4e8997 100644 --- a/maqueenPlusV2.ts +++ b/maqueenPlusV2.ts @@ -426,13 +426,13 @@ namespace maqueenPlusV2 { /** * The LED positions where you wish to begin and end - * @param from , eg: 1 - * @param to , eg: 4 + * @param from , eg: 0 + * @param to , eg: 3 */ //% weight=60 //% from.min=0 from.max=3 - //% to.min=1 to.max=4 + //% to.min=0 to.max=3 //% block="range from |%from with|%to leds" export function ledRange(from: number, to: number): number { return ((from) << 16) + (2 << 8) + (to);