Utilities for i2c data connection. This is ported from https://github.com/jrowberg/i2cdevlib.
Dependents: DISCO-F746NG_rtos_test
Fork of I2Cdev by
Diff: I2Cdev.cpp
- Revision:
- 1:df0c2ace5932
- Parent:
- 0:3aa973ebe3e5
--- a/I2Cdev.cpp Sun Jan 31 13:52:23 2016 +0000 +++ b/I2Cdev.cpp Sun Feb 11 18:32:25 2018 +0000 @@ -7,8 +7,9 @@ // 2016-01-31 - changed all functions and variables static to make porting from arduino easier(by shundo kishi) #include "I2Cdev.h" +#include "stm32746g_discovery.h" -I2C I2Cdev::i2c(I2C_SDA,I2C_SCL); +I2C I2Cdev::i2c(I2C_SDA, I2C_SCL); /** Default constructor. */