Just a little wrapper around the SPIdev userspace kernel module; it works brilliantly on the Raspberry Pi, but before trying it you need to load the SPI module and chown the devices as follows:
sudo modprobe spi_bcm2708 sudo chown `id -u`.`id -g` /dev/spidev0.*
You can find the code here.
Leave a Reply