> For the complete documentation index, see [llms.txt](https://docs.jcore.io/clarity-gateway/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jcore.io/clarity-gateway/connections/local-i-o/configuring-digital-inputs.md).

# Configuring Digital Inputs

To make a Local I/O Channel operate as a digital input, first click the channel in the sidebar to go to the channel settings view:

<figure><img src="https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-0667df6ab5e38107743f7c5300b5bbf75715eefd%2Flocalhost_50000_channel_1%20(12).png?alt=media" alt=""><figcaption></figcaption></figure>

Then click **Digital Input** in the view that appears:

<figure><img src="https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-b95553a003e219163000cdc45e146422abdca490%2Flocalhost_50000_channel_1%20(13).png?alt=media" alt=""><figcaption></figcaption></figure>

Finally, click **Save**:

<figure><img src="https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-45d0c64b33fdcc891b3d6fe1e4393a177a4c7d4e%2Flocalhost_50000_channel_1%20(14).png?alt=media" alt=""><figcaption></figcaption></figure>

Digital inputs may have a **Polarity** of **Normal** or **Reversed**. In **Normal** polarity, if the **Raw Input** value is 0, the **System Value** will also be 0 (this value is written to the configured tag, which is **channel1** in this case):

<figure><img src="https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-8f6a2558cc26d203306f4ae1bc954b1bdbb7a7ce%2Flocalhost_50000_channel_1%20(19).png?alt=media" alt=""><figcaption></figcaption></figure>

In **Reversed** polarity, if the **Raw Input** value is 0, the **System Value** will be 1, and vice versa:

<figure><img src="https://1557066017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSPy42kVbNL57hubF20gF%2Fuploads%2Fgit-blob-3bea3af654e9e3e4d63f68c9384c38c70546b76b%2Flocalhost_50000_channel_1%20(20).png?alt=media" alt=""><figcaption></figcaption></figure>
