User Tools

Site Tools

한국어

logicpython:cubloc_api:out

This is an old revision of the document!


Out

Write a digital output value to a pin.

Syntax

from cubloc import Out
 
Out(pin: int, value: int)

Parameters

  • pin: GPIO pin number.
  • value: Output level where 0 is low and non-zero is high.

Example

from cubloc import Out
 
# Example usage
Out(0, 1)
logicpython/cubloc_api/out.1775786798.txt.gz · Last modified: by 127.0.0.1