From 54e21f9ad3a6caf673ddfc2100600191b42cc201 Mon Sep 17 00:00:00 2001 From: "ELECFREAKS.Admin" Date: Thu, 18 Jun 2020 20:25:08 +0800 Subject: [PATCH] Update ringbitcar.ts --- ringbitcar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ringbitcar.ts b/ringbitcar.ts index f771b2b..cb9eccb 100644 --- a/ringbitcar.ts +++ b/ringbitcar.ts @@ -66,7 +66,7 @@ namespace RingbitCar { } } //% weight=29 - //% blockId=running distance block="go %direction to %distance cm" + //% blockId=distance_run block="go %direction to %distance cm" export function running_distance(direction: Direction_run, distance: number): void { let timeWait = (distance * 1000000) / 100; if (direction == 0) { @@ -81,7 +81,7 @@ namespace RingbitCar { } } //% weight=30 - //% blockId=running time block="go %direction for %time seconds" + //% blockId=time_run block="go %direction for %time seconds" export function running_time(direction: Direction_run, time: number): void { if (direction == 0) { forward();