From 60766956ba10224bdfc5ee5f16047e7e7118cbb8 Mon Sep 17 00:00:00 2001 From: WayenWeng Date: Fri, 23 Jun 2017 20:00:58 +0800 Subject: [PATCH] Update --- main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.ts b/main.ts index 264510a..66165fa 100644 --- a/main.ts +++ b/main.ts @@ -370,14 +370,14 @@ namespace grove { /** * Show a single number from 0 to 9 at a specified digit of Grove - 4-Digit Display - * @param bitAddr value of bit number * @param dispData value of number + * @param bitAddr value of bit number */ //% blockId=grove_tm1637_display_bit block="%strip|show single number|%dispData|at digit|%bitAddr" - //% bitAddr.min=0 bitAddr.max=3 //% dispData.min=0 dispData.max=9 + //% bitAddr.min=0 bitAddr.max=3 //% advanced=true - bit(bitAddr: number, dispData: number) + bit(dispData: number, bitAddr: number) { let segData = 0; segData = this.coding(dispData);