# New to legato and mangoh, help needed

**URL:** <https://mangoh.discourse.group/t/new-to-legato-and-mangoh-help-needed/1505>\
**Category:** mangOH Red\
**Created:** [June 3, 2018, 10:06pm UTC](https://mangoh.discourse.group/t/new-to-legato-and-mangoh-help-needed/1505 "2018-06-03T22:06:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CT1](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@CT1](https://mangoh.discourse.group/u/CT1)\
**Post date:** [June 3, 2018, 10:06pm UTC](https://mangoh.discourse.group/t/new-to-legato-and-mangoh-help-needed/1505/1 "2018-06-03T22:06:36Z")

</div>

Hello everyone,

I’m an electrical engineer and recently my job has turned a lot more software-based than the hardware and embedded C I’m used to. I purchased a mangoh red board to determine viability for one of our projects. I’ve followed the setup instructions for linux exactly. After overcoming quite a few issues and then being stumped on what seems like the last 5 yards, I finally vaporized that VM and installed the gui developer studio. I’m still having issues, but at least I can compile the “Hello World” program. Although for the life of me, I can’t seem to compile any of the other programs.

I just want to change the output of one GPIO pin so I can see something on my DSO. I’m scoping the IoT breakout connector, and the RPi header but none of the gpio programs seem to work, even the github programs crash frequently/do not compile.

Is this normal? Am I missing something?

I’ve tried making everything from the command line again, but still can’t make legato for the wp77xx, or mangoh for the red\_wp77xx. Can someone give me some direction here? I’ve included a txt of the command line output when trying to make wp77xx in the legato directory. [failed make output 1.txt](https://mangoh.discourse.group/uploads/short-url/4g6Cebc106gNkquJMzROArXAn23.txt) (106.0 KB)

Thanks,  
Connor

---

<div class="post-metadata">

**Author:** ![CT1](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@CT1](https://mangoh.discourse.group/u/CT1)\
**Post date:** [June 3, 2018, 11:59pm UTC](https://mangoh.discourse.group/t/new-to-legato-and-mangoh-help-needed/1505/2 "2018-06-03T23:59:45Z")

</div>

Furthermore, if anyone can recommend any good books on learning embedded linux, I’d greatly appreciate it.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 14, 2022, 1:00am UTC](https://mangoh.discourse.group/t/new-to-legato-and-mangoh-help-needed/1505/3 "2022-01-14T01:00:28Z")

</div>

Here is an example to change output state of GPIO13:

> [@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.

BTW, you should use developer studio as it has been end of life.  
VSCode + LEAF should be used:

> **[Legato Plugin for VSCode - Legato Docs](https://docs.legato.io/latest/tools_vsCode.html)**
>
> legato™ is an open source Linux-based embedded platform designed to simplify connected IoT application development
