actually here you have a more up-to-date version of the project.
OG93 i now get this error.
That seems like the IMU is not connected or not correctly identified? Can you run this command in the console
i2cdetect -y -r 1
?
What result does it give?
OG93 i have commented 'cout' out to see if it will run.
A better fix for the error about cout
would be to add #include <iostream>
at the top and then use std::cout
instead of cout
.