Reply To: How to Open I2C Bus

Home Forums Forums General discussion How to Open I2C Bus Reply To: How to Open I2C Bus

Mark Williams

The page explains the code that is linked at the top of the page. See the attached image

A summary of the steps to get working code;

Download the code;

git clone

Enter the directory for this tutorial;

cd BerryIMU/gyro_accelerometer_tutorial01


gcc -o gyro_accelerometer_tutorial01 -l rt gyro_accelerometer_tutorial01.c -lm


sudo ./gyro_accelerometer_tutorial01

Mark --

Blip, blop, bloop…