ozzmaker / BerryIMU

Code related to BerryIMU
http://ozzmaker.com
181 stars 109 forks source link

I2C_SMBUS_BLOCK_MAX #8

Closed dmieszkowski closed 6 years ago

dmieszkowski commented 6 years ago

sensor.c:121:14: error: ‘I2C_SMBUS_BLOCK_MAX’ undeclared (first use in this function) while compiling gyro_accelerometer_tutorial01.c

mwilliams03 commented 6 years ago

Have you done everything on this page; http://ozzmaker.com/i2c/

You are missing sudo apt install libi2c-dev