From 43a2df8f5003034e1cef93aab32e5f503ac8923a Mon Sep 17 00:00:00 2001 From: MRH0 Date: Wed, 26 Apr 2023 17:56:35 +0200 Subject: [PATCH] Update COMPUTERCRAFT_zh-CN.md --- COMPUTERCRAFT_zh-CN.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/COMPUTERCRAFT_zh-CN.md b/COMPUTERCRAFT_zh-CN.md index 6a9e1510..33c0cdd1 100644 --- a/COMPUTERCRAFT_zh-CN.md +++ b/COMPUTERCRAFT_zh-CN.md @@ -249,3 +249,9 @@ da.setLine(1) da.print("Text on first line again") ``` 函数 `getMaxLines()` 将返回使用数字适配器可以显示的最大行数(将始终返回16)。 + +### Other + +The function `getDurationDistance(blocks, rpm)` will return the time needed to push a Mechanical Piston, Pulley or Gantry a number of blocks at the given rpm. + +The function `getDurationAngle(degrees, rpm)` will return the time needed to rotate a Mechanical Bearing by a number of degrees at the given rpm.