Aktualisiere main.ts, _locales/de/Grove-strings.json
This commit is contained in:
parent
d825151823
commit
fe14bba78e
@ -16,7 +16,7 @@
|
|||||||
"GroveGesture.Wave|block": "Welle",
|
"GroveGesture.Wave|block": "Welle",
|
||||||
"grove.initGesture|block": "initialisiere Grove Gestenerkennung",
|
"grove.initGesture|block": "initialisiere Grove Gestenerkennung",
|
||||||
"grove.getGestureModel|block": "lies Geste",
|
"grove.getGestureModel|block": "lies Geste",
|
||||||
"grove.onGesture|block": "wenn Grove - Gestensensor |%gesture|",
|
"grove.onGesture|block": "wenn Grove - Gestensensorgeste |%gesture|",
|
||||||
"grove.measureInCentimeters|block": "Ultraschallsensor (in cm) an |%pin",
|
"grove.measureInCentimeters|block": "Ultraschallsensor (in cm) an |%pin",
|
||||||
"grove.measureInInches|block": "Ultraschallsensor (in inch) an |%pin",
|
"grove.measureInInches|block": "Ultraschallsensor (in inch) an |%pin",
|
||||||
"grove.createDisplay|block": "4-Ziffern Display an|%clkPin|und|%dataPin",
|
"grove.createDisplay|block": "4-Ziffern Display an|%clkPin|und|%dataPin",
|
||||||
@ -37,7 +37,6 @@
|
|||||||
"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.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"
|
||||||
}
|
}
|
3
main.ts
3
main.ts
@ -453,7 +453,8 @@ namespace grove {
|
|||||||
let distanceBackup: number = 0;
|
let distanceBackup: number = 0;
|
||||||
let joystick = new GroveJoystick();
|
let joystick = new GroveJoystick();
|
||||||
let paj7620 = new PAJ7620();
|
let paj7620 = new PAJ7620();
|
||||||
|
// adapted to Calliope mini V2 Core by M.Klein 17.09.2020
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new driver of Grove - Ultrasonic Sensor to measure distances in cm
|
* Create a new driver of Grove - Ultrasonic Sensor to measure distances in cm
|
||||||
* @param pin signal pin of ultrasonic ranger module
|
* @param pin signal pin of ultrasonic ranger module
|
||||||
|
Loading…
Reference in New Issue
Block a user