Aktualisiere main.ts

This commit is contained in:
Michael Klein 2020-09-17 18:55:21 +02:00
parent 97b69e754f
commit 232c2d8384

View File

@ -462,7 +462,7 @@ namespace grove {
//% blockId=grove_ultrasonic_centimeters block="Ultrasonic Sensor (in cm) at|%pin"
//% pin.fieldEditor="gridpicker" pin.fieldOptions.columns=4
//% pin.fieldOptions.tooltips="false" pin.fieldOptions.width="250"
//% group="Ultrasonic"
//% group="Ultrasonic" pin.defl=DigitalPin.C16
export function measureInCentimeters(pin: DigitalPin): number
{
let duration = 0;