User Tools

Site Tools

한국어

logicpython:cubloc_api:wait

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

logicpython:cubloc_api:wait [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:wait [2026/04/10 06:07] (current) – removed mfranklin
Line 1: Line 1:
-====== Wait ====== 
- 
-''Delay'' execution for the given interval in ''milliseconds''. 
- 
-===== Syntax ===== 
- 
-<code python> 
-from cubloc import Wait 
- 
-Wait(milliseconds: int) 
-</code> 
- 
-===== Parameters ===== 
- 
-  * **milliseconds**: ''Delay'' interval in ''milliseconds''. 
- 
-===== Exceptions ===== 
- 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#TypeError|TypeError]]: ''milliseconds'' is not an integer. 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#ValueError|ValueError]]: ''milliseconds'' is outside the allowed range. 
- 
-===== Example ===== 
- 
-<code python> 
-from cubloc import Wait 
- 
-# Example usage 
-Wait(1) 
-</code> 
- 
-===== Related APIs ===== 
- 
-  * [[logicpython:cubloc_api:delay|Delay]] 
-  * [[logicpython:cubloc_api:ontimer|OnTimer]] 
-  * [[logicpython:cubloc_api:pause|Pause]] 
-  * [[logicpython:cubloc_api:setontimer|SetOnTimer]] 
-  * [[logicpython:cubloc_api:udelay|UDelay]] 
  
logicpython/cubloc_api/wait.1775786799.txt.gz · Last modified: by 127.0.0.1