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