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
direction
DINT
0: Success, else -1
Input
udiGpioNumber
UDINT
Number of GPIO pin
sDirection
STRING(80)
- Direction of GPIO pin:
in : Input
out : Output