# GPIO Set Pin Mode

Configures the operation mode of a PIN.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MS8rXfPEVYgYK-MjD4C%2F-MS8vXpqPtrnbV3zCQH-%2FAndroi_Win10%20e%20Win32.PNG?alt=media\&token=b7a779b4-2092-4368-b634-4d069a3e13c4)

### Parameters

* &#x20;**Pin** *\<string, variable or control> -* The PIN to configure.
* &#x20;**Value** *\<numeric> -* The new operation mode for the PIN. It can be:

  * 1 - Input
  * 2 - Output

  &#x20;
