Aktualisiere main.ts
This commit is contained in:
parent
97b69e754f
commit
232c2d8384
2
main.ts
2
main.ts
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user