direction (FUN)ΒΆ
FUNCTION direction : DINT
Sets the direction of the GPIO pin to input or output or not used
- InOut:
Scope
Name
Type
Comment
Return
directionDINT0: Success, else -1
Input
udiGpioNumberUDINTNumber of GPIO pin
sDirectionSTRING(80)- Direction of GPIO pin:
in : Input
out : Output