planteg
Posts: 13
Joined: Tue Apr 26, 2016 10:04 pm

i2c with bcm2835 and libbcm2835 wrapper

Mon Oct 03, 2016 9:57 pm

Hi,

did someone succeeded using the i2c bus on a Raspberry Pi zero, with the libbcm2835 wrapper for the bcm2835 library ?

The issue I get is that bcm2835_i2c_begin() always fails. I know that i2c and SPI needs access to /dev/mem, so I set all access to everyone from the file manager (strangely that does not seem to stick ?!?), but that does not work.

What should I do ?

Thanks

Return to “General programming discussion”