User Tools

Site Tools

한국어

logicpython:cubloc_api:reverse

Differences

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

Link to this comparison view

Next revision
Previous revision
logicpython:cubloc_api:reverse [2026/04/10 02:06] – created - external edit 127.0.0.1logicpython:cubloc_api:reverse [2026/04/14 04:12] (current) – [Example] mfranklin
Line 23: Line 23:
  
 <code python> <code python>
-from cubloc import Reverse+from time import sleep 
 +from cubloc import Output, Reverse
  
-Example usage +LED on GP25, configured as an output 
-Reverse(0)+LED = 25 
 +Output(LED) 
 + 
 +while True: 
 +    # Toggle LED on for 500ms 
 +    Reverse(LED) 
 +    sleep(0.5)
 </code> </code>
  
logicpython/cubloc_api/reverse.1775786799.txt.gz · Last modified: by 127.0.0.1