User Tools

Site Tools

한국어

logicpython:cubloc_api:reverse

This is an old revision of the document!


Reverse

Toggle the output state of the specified pin.

Syntax

from cubloc import Reverse
 
Reverse(pin: int)

Parameters

  • pin: Pin number (0 to 255).

Exceptions

Example

from cubloc import Reverse
 
# Example usage
Reverse(0)
logicpython/cubloc_api/reverse.1775786799.txt.gz · Last modified: by 127.0.0.1