diff --git a/libs/ultrasonic-sensor/_locales/ultrasonic-sensor-jsdoc-strings.json b/libs/ultrasonic-sensor/_locales/ultrasonic-sensor-jsdoc-strings.json index 3bb5fc2a..9aa4671b 100644 --- a/libs/ultrasonic-sensor/_locales/ultrasonic-sensor-jsdoc-strings.json +++ b/libs/ultrasonic-sensor/_locales/ultrasonic-sensor-jsdoc-strings.json @@ -1,5 +1,5 @@ { - "sensors.UltraSonicSensor.distance": "Gets the distance from the sonar in millimeters", + "sensors.UltraSonicSensor.distance": "Gets the distance from the sonar in centimeters", "sensors.UltraSonicSensor.onEvent": "Registers code to run when the given color is close", "sensors.UltraSonicSensor.onEvent|param|handler": "the code to run when detected", "sensors.UltraSonicSensor.waitUntil": "Waits for the event to occur" diff --git a/libs/ultrasonic-sensor/ultrasonic.ts b/libs/ultrasonic-sensor/ultrasonic.ts index e7d8826d..ef6628af 100644 --- a/libs/ultrasonic-sensor/ultrasonic.ts +++ b/libs/ultrasonic-sensor/ultrasonic.ts @@ -67,7 +67,7 @@ namespace sensors { } /** - * Gets the distance from the sonar in millimeters + * Gets the distance from the sonar in centimeters * @param sensor the ultrasonic sensor port */ //% help=input/ultrasonic/distance