Aktualisiere main.ts, _locales/de/Grove-strings.json

This commit is contained in:
Michael Klein 2020-09-17 20:52:45 +02:00
parent d825151823
commit fe14bba78e
2 changed files with 3 additions and 3 deletions

View File

@ -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"
}

View File

@ -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