Reply To: How to Open I2C Bus

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/mwilliams03/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:
You must be logged in to view attached files.

Mark --OzzMaker.com --
BerryIMU --
PiScreen - 3.5" TFT for the Rasspberry Pi

Blip, blop, bloop…