This is a cache of https://discuss.96boards.org/t/sample-projects-for-gpio-uart/6060. It is a snapshot of the page at 2024-09-20T09:45:11.731+0000.
Sample projects for GPIO/UART - DragonBoard410c - 96Boards Forum

Sample projects for GPIO/UART

I just got the 401c board running on debian.
Where is the best place to find sample code for UART and User-LEDs ?

I am looking for “C” code which I can build my App

I think the easier way is to use libmraa, which provides a good abstraction layer for controlling GPIOs/LEDS.

You can find install steps and examples here:

Thanks…
but I end up using the “POSIX Terminal Control” to write the Application