# GPIO high from legato app

**URL:** <https://forum.legato.io/t/gpio-high-from-legato-app/7008>\
**Category:** Legato Application Framework\
**Created:** [March 24, 2026, 12:57pm UTC](https://forum.legato.io/t/gpio-high-from-legato-app/7008 "2026-03-24T12:57:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsdabharati](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@fsdabharati](https://forum.legato.io/u/fsdabharati)\
**Post date:** [March 24, 2026, 12:57pm UTC](https://forum.legato.io/t/gpio-high-from-legato-app/7008/1 "2026-03-24T12:57:16Z")

</div>

Hello,

I want to make gpio24 as out direction and i want to write 1 in its value.

But i dont want to do this from ssh root. I want this controlling to happen from legato app. how to do this can anyone help me?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 24, 2026, 2:47pm UTC](https://forum.legato.io/t/gpio-high-from-legato-app/7008/3 "2026-03-24T14:47:05Z")

</div>

Does this help?

> **[Is there a sample app using gpio pin?](https://mangoh.discourse.group/t/is-there-a-sample-app-using-gpio-pin/4522/7)**
>
> I used the sysfs command, but I don’t know what api can be used to produce the desired output on the digital pin through which function call can be used.

You can also see this document on using unsandboxed legato application to control GPIO:

> **[Scheduler / Cron job on FX30](https://forum.sierrawireless.com/t/scheduler-cron-job-on-fx30/31420/4)**
>
> how about using a one-shot timer or periodic timer? Here is an example of using periodic timer with GPIO function: Timer and accessing GPIO in Legato application.docx (71.0 KB) Of course you can also try with cron
