From fe14bba78eb622b1b551bb8b18565961a9e83a17 Mon Sep 17 00:00:00 2001 From: Michael Klein <37311672+MKleinSB@users.noreply.github.com> Date: Thu, 17 Sep 2020 20:52:45 +0200 Subject: [PATCH] Aktualisiere main.ts, _locales/de/Grove-strings.json --- _locales/de/Grove-strings.json | 3 +-- main.ts | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_locales/de/Grove-strings.json b/_locales/de/Grove-strings.json index 8b1fc75..f81235d 100644 --- a/_locales/de/Grove-strings.json +++ b/_locales/de/Grove-strings.json @@ -16,7 +16,7 @@ "GroveGesture.Wave|block": "Welle", "grove.initGesture|block": "initialisiere Grove Gestenerkennung", "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.measureInInches|block": "Ultraschallsensor (in inch) an |%pin", "grove.createDisplay|block": "4-Ziffern Display an|%clkPin|und|%dataPin", @@ -37,7 +37,6 @@ "GroveJoystickKey.LL|block": "Unten links", "GroveJoystickKey.LR|block": "Unten rechts", "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.getJoystick|block": "lies Joysticktaste an|%xpin|und|%ypin" } \ No newline at end of file diff --git a/main.ts b/main.ts index de50d2b..db96d94 100644 --- a/main.ts +++ b/main.ts @@ -453,7 +453,8 @@ namespace grove { let distanceBackup: number = 0; let joystick = new GroveJoystick(); 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 * @param pin signal pin of ultrasonic ranger module