Reply To: How to Open I2C Bus

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

#4055
Mark Williams
Keymaster

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 http://github.com/ozzmaker/BerryIMU.git

Enter the directory for this tutorial;

cd BerryIMU/gyro_accelerometer_tutorial01

Compile;

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

Run;

sudo ./gyro_accelerometer_tutorial01

Attachments:

Mark --OzzMaker.com --

Blip, blop, bloop…