# Can you write the GPIO from remote end?

**URL:** <https://discuss.blues.com/t/can-you-write-the-gpio-from-remote-end/106>\
**Category:** Notecard API\
**Created:** [January 20, 2021, 9:09pm UTC](https://discuss.blues.com/t/can-you-write-the-gpio-from-remote-end/106 "2021-01-20T21:09:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![speacock](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@speacock](https://discuss.blues.com/u/speacock)\
**Post date:** [January 20, 2021, 9:09pm UTC](https://discuss.blues.com/t/can-you-write-the-gpio-from-remote-end/106/1 "2021-01-20T21:09:13Z")

</div>

I was wondering if there is an API call to access the GPIO and toggle an IO line at the other end of the link?

Simon

---

<div class="post-metadata">

**Author:** ![bsatrom](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/bsatrom/32/3_2.png) [@bsatrom](https://discuss.blues.com/u/bsatrom)\
**Post date:** [January 20, 2021, 9:23pm UTC](https://discuss.blues.com/t/can-you-write-the-gpio-from-remote-end/106/2 "2021-01-20T21:23:09Z")

</div>

hey @speacock thanks for posting, and welcome to the community, glad to have you here!

Every Notecard comes equipped with an attention pin (ATTN) that can be connected to a GPIO on a host MCU and configured with a request to the [card.attn](https://dev.blues.io/reference/complete-api-reference/card-requests/#card-attn) API to fire when certain conditions are met (like an inbound Note or a timeout). Your host can then configure an interrupt (or poll) to take action when the ATTN pin fires.

See [here](https://dev.blues.io/build/notecard-guides/configuring-esp32-attention-pin/) and [here](https://dev.blues.io/reference/notecard-walkthrough/inbound-requests-and-shared-data/#handling-notecard-interrupts-from-a-host) for more information in our docs.

Hope that helps, and please let me know if I haven’t answered your question!
