Aktualisierungen.
This commit is contained in:
parent
56a3499405
commit
072d6d6bac
2
main.ts
2
main.ts
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user