From OpenSCADAWiki
Function GPIO: Mode (mode)
Description: GPIO mode, input or output.
Parameters:
ID | Parameter | Type | Mode | By defaults |
---|---|---|---|---|
rez | Result | Integer | Return | |
pin | Pin | Integer | Input | |
set | Setting the input mode: 1-Input, 2-Input (pull up), 3-Input (pull down), 4-Output | Integer | Input | 0 |