Sparkfun has recently posted a tutorial on how to write C-based programs that access GPIO/I2C/SPI/UART devices through Linux. The programs are targeted towards the PCDuino board, but because that board runs Linux, much of this information can be useful for those using other embedded Linux boards such as the RaspberryPi, Beaglebone (SPI is a little different on the Beaglebone though) as well as other Linux boards. Continue reading
Top Posts & Pages
- Development Environment for the Raspberry Pi using a Cross Compiling Toolchain and Eclipse
- Introduction to accessing the Raspberry Pi's GPIO in C++ (Linux Way / SYSFS)
- Interfacing an I2C GPIO expander (MCP23017) to the Raspberry Pi using C++ (SYSFS)
- Part 1 - Setting up the GCC ARM Toolchain
- Installing Raspbian on the Raspberry Pi & using SSH and VNC to remotely connect to the Raspberry Pi
-
Recent Posts
Electronics
Online Courses & Educational Resources
Archives
Recent Comments
Adbox