'17.9.2020, 19:06:02 0.1.29 ' wiederherstellen '
This commit is contained in:
parent
4ed40664f7
commit
cca1fca078
@ -37,7 +37,7 @@
|
|||||||
"GroveJoystickKey.LL|block": "Unten links",
|
"GroveJoystickKey.LL|block": "Unten links",
|
||||||
"GroveJoystickKey.LR|block": "Unten rechts",
|
"GroveJoystickKey.LR|block": "Unten rechts",
|
||||||
"GroveJoystickKey.Press|block": "Gedrückt",
|
"GroveJoystickKey.Press|block": "Gedrückt",
|
||||||
"grove.joyread|block": "lies Position von Joystick an|%xpin|und|%ypin",
|
"grove.joyread|block": "%ThumbJoystick|read position of joystick at|%xpin|und|%ypin",
|
||||||
"grove.onJoystick|block": "wenn Grove - Joysticktaste|%key an|%xpin|und|%ypin",
|
"grove.onJoystick|block": "wenn Grove - Joysticktaste|%key an|%xpin|und|%ypin",
|
||||||
"grove.getJoystick|block": "lies Joysticktaste an|%xpin|und|%ypin"
|
"grove.getJoystick|block": "lies Joysticktaste an|%xpin|und|%ypin"
|
||||||
}
|
}
|
2
main.ts
2
main.ts
@ -414,7 +414,7 @@ namespace grove {
|
|||||||
* @param xPin
|
* @param xPin
|
||||||
* @param yPin
|
* @param yPin
|
||||||
*/
|
*/
|
||||||
//% blockId=grove_joystick_read block="read position of joystick at|%xpin|and|%ypin"
|
//% blockId=grove_joystick_read block="%ThumbJoystick|read position of joystick at|%xpin|and|%ypin"
|
||||||
//% group="Thumbjoystick" xPin.defl=AnalogPin.C16 yPin.defl=AnalogPin.C17
|
//% group="Thumbjoystick" xPin.defl=AnalogPin.C16 yPin.defl=AnalogPin.C17
|
||||||
joyread(xPin: AnalogPin, yPin: AnalogPin): number {
|
joyread(xPin: AnalogPin, yPin: AnalogPin): number {
|
||||||
let xdata = 0, ydata = 0, result = 0;
|
let xdata = 0, ydata = 0, result = 0;
|
||||||
|
2
pxt.json
2
pxt.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Grove",
|
"name": "Grove",
|
||||||
"version": "0.1.30",
|
"version": "0.1.29",
|
||||||
"description": "A Microsoft MakeCode package for Seeed Studio Grove module",
|
"description": "A Microsoft MakeCode package for Seeed Studio Grove module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user