I'm setting up i2c for an Application written in C, but I've not been able to find any how-to's for it. I'm running a model-b Raspberry Pi on Debian 6 with LXDE. Can anybody show me how to set up i2c so I can use it in a C Application?
Thanks for any help in advance
modprobe i2c-bcm2708doesn't add anything tolsmod. The same command on Raspbian works, provided you remove it from the blacklist. If you cani2cdetectthen your C program will work; otherwise, the drivers aren't set up properly.