User Tools

Site Tools

한국어

logicpython:cubloc_api:countreset

Differences

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

Link to this comparison view

logicpython:cubloc_api:countreset [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:countreset [2026/04/10 02:58] (current) – removed mfranklin
Line 1: Line 1:
-====== CountReset ====== 
- 
-Reset the pulse count for the specified counter ''channel'' to 0. 
- 
-===== Syntax ===== 
- 
-<code python> 
-from cubloc import CountReset 
- 
-CountReset(channel: int) 
-</code> 
- 
-===== Parameters ===== 
- 
-  * **channel**: Counter ''channel'' number (0 to 4). 
- 
-===== Exceptions ===== 
- 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#TypeError|TypeError]]: ''channel'' is not an integer. 
-  * [[https://docs.micropython.org/en/latest/library/builtins.html#ValueError|ValueError]]: ''channel'' is outside the supported range. 
- 
-===== Example ===== 
- 
-<code python> 
-from cubloc import CountReset 
- 
-# Example usage 
-CountReset(0) 
-</code> 
- 
-===== Related APIs ===== 
- 
-  * [[logicpython:cubloc_api:count|Count]] 
-  * [[logicpython:cubloc_api:freqout|FreqOut]] 
-  * [[logicpython:cubloc_api:pwm|Pwm]] 
-  * [[logicpython:cubloc_api:pwmoff|PwmOff]] 
-  * [[logicpython:cubloc_api:setcount|SetCount]] 
  
logicpython/cubloc_api/countreset.1775786798.txt.gz · Last modified: by 127.0.0.1