Beaglebone: GPIO Programming on ARM Embedded Linux

2012-May-03 | Tags: developmentembeddedother_linux

Linux on ARMIn this video I extend my series on introducing the Beaglebone and developing applications using embedded Linux to demonstrate how we can build an application that uses its GPIOs (General Purpose Input/Outputs).

The example demonstrates a simple LED output circuit and a simple pushbutton input circuit that we can connect to the Beaglebone GPIOs directly. I then go through the steps on how we can configure and access these GPIOs using Sysfs in embedded linux and then demonstrate how we can write a C/C++ program that works directly with these pins. Finally I demonstrate how we can use polling to wait for a GPIO input such as a button press or key press. This application is relevant to all flavours of embedded Linux.

Beaglebone: GPIO Programming on ARM Embedded Linux - YouTube

Facebook Twitter RSS E-Mail

Linux on ARM