New answers tagged

1 vote
Accepted

It is possible to set I2C bus speed programmatically without the bcm2835 library?

I have never used i2c-smbus although I have written code in python and c to use I²C using the kernel driver either directly in c or python smbus library. None of these allow setting clock and rely on ...
Milliways's user avatar
  • 59.5k
0 votes

compiler linking error GPIO libraries no longer initialising

You need to tell it to link the executable with the pigpio library. Try g++ filename.cpp -lpigpio
joan's user avatar
  • 70.9k

Top 50 recent answers are included