Aktualisierungen.

This commit is contained in:
Michael Klein 2019-11-13 15:15:14 +01:00
parent 56a3499405
commit 072d6d6bac

View File

@ -395,7 +395,7 @@ namespace grove {
* @param xPin
* @param yPin
*/
//% blockId=grove_joystick_read block="%strip|read position of joystick"
//% blockId=grove_joystick_read block="%strip|read position of joystick|%xpin|and|%ypin"
//% advanced=true
read(xPin: AnalogPin, yPin: AnalogPin): number {
let xdata = 0, ydata = 0, result = 0;