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
- Interfacing an I2C GPIO expander (MCP23017) to the Raspberry Pi using C++ (SYSFS)
- Introduction to accessing the Raspberry Pi's GPIO in C++ (Linux Way / 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
- 想问一下在linux32里面写的sdk程序怎样编译,使其可以在树莓派上面运行呢? - 树莓派 - 开发者问答 on Development Environment for the Raspberry Pi using a Cross Compiling Toolchain and Eclipse
- vasi on Interfacing an I2C GPIO expander (MCP23017) to the Raspberry Pi using C++ (SYSFS)
- vasi on Interfacing an I2C GPIO expander (MCP23017) to the Raspberry Pi using C++ (SYSFS)
Adbox