Skip to content

Commit

Permalink
Update ringbitcar.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
elecfreaks1 committed Jun 18, 2020
1 parent 53fc02e commit 54e21f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ringbitcar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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();
Expand Down

0 comments on commit 54e21f9

Please sign in to comment.