# GPIO Set Pin Mode

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-others/gpio-set-pin-mode
>
> Sets the operation mode of a GPIO pin to input or output before reading or writing it.

Configures the operation mode of a PIN.

Action available for the following operating systems:

![OS Supported: iOS, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/08_Supported_OS_android_windows-ed85ca34a7060515c3ee8fa4c53bc134.png)

### Parameters

* **Pin** _\<string, variable or control> -_ The PIN to configure.
* **Value** _\<numeric> -_ The new operation mode for the PIN. It can be:
  * 1 - Input
  * 2 - Output
