From aacbe7d85c97035ff06d80cb777eed34f8142f0d Mon Sep 17 00:00:00 2001 From: pelikhan Date: Tue, 17 May 2022 08:14:23 -0700 Subject: [PATCH] add num pixels block --- led/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/led/client.ts b/led/client.ts index a84e3694f..ff53c40f4 100644 --- a/led/client.ts +++ b/led/client.ts @@ -133,6 +133,8 @@ namespace modules { //% callInDebugger //% group="Light" //% weight=95 + //% blockId=jacdac_led_num_pixels + //% block="%led number of pixels" numPixels(): number { this.start() const values = this._numPixels.pauseUntilValues() as any[]