Go Down

Topic: Using I2C via Wire.h on the MKR Zero (Read 535 times) previous topic - next topic

littek

Dec 05, 2017, 01:50 pm Last Edit: Dec 19, 2017, 02:01 pm by littek
Hello guys,
in past I used a mini pro combined with an MPU6050 gyrosensor, but now upgraded to the MKR Zero. As I wanted to run my own files they didn't compile so I tried running a basic example sketch that uses the Wire.h and I2Cdev.h library - it didn't compile.
"TWBR = 24;" didn't work because "'TWBR' was not declared in this scope".
I deleted this line, then it says "'BUFFER_LENGTH' was not declared in this scope" but in the code there is no call for BUFFER_LENGTH...

Can you please help me?

Go Up