From 1d519569600ee82cd69f0041aec6fb277022c5de Mon Sep 17 00:00:00 2001 From: sidikalamini <33785823+sidikalamini@users.noreply.github.com> Date: Mon, 18 Nov 2019 22:16:50 +0800 Subject: [PATCH] Update main.ts update error of x instead of y --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 535bb7c..d0a7bfe 100644 --- a/main.ts +++ b/main.ts @@ -513,7 +513,7 @@ namespace grove { * get Joystick key * */ - //% blockId=grove_getjoystick block="get joystick key at|%xpin|and|%xpin" + //% blockId=grove_getjoystick block="get joystick key at|%xpin|and|%ypin" export function getJoystick(xpin: AnalogPin, ypin: AnalogPin): number { return joystick.read(xpin, ypin); }