Please help me about mpu 6050 kalman filter code

when i compile this code ,arduino show allert message “i2cWrite wasn’t declared in this scope”.please can you help me how can i solve this problem?if you know another code about mpu 6050 kalman filter (conteining yaw,pitc,roll angle),can you share with me?

kalman code .txt (10.8 KB)

please can you help me how can i solve this problem?

You are trying to call a function that you haven't written. You can't do that. Solve the "problem" by writing the function!

i am new this toppic i dont understand that you said the function.can you rewrite this function to my sharing code and than share me?

can you rewrite this function

How can I write the function when I have no idea what you expect it to do?

this my project .i need that i have shared code.but i don’t know that why haven’t worked this code.

The code you posted did not come from the site in the video you linked to. That code does not use i2cWrite().

i think that this fail is based on wrong i2c libraries.i may need to find correct library or might be based on another problem.

i think that this fail is based on wrong i2c libraries.

Well, you'd be wrong, then. You are trying to call a function that does not exist. You are NOT going to find it in a library.