-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino_NineAxesMotion (COMPILATION PASS, HARDWARE FAIL) Arduino R4 WiFi #11
Comments
Have you found a solution to the problem? I have the same problem and can't get any further. |
Dear sidscopexx, https://forum.arduino.cc/t/i2c-setclock-does-not-appear-to-be-standard-way-to-setclock/1147122/17 In summary, it seems that in the "old" wire library there was a compatibility issue that did not allow to change the clock speed to adapt the I2C communication to the new renesas platform (sorry if I am not speaking correctly, but I am not an firmware programmer). I sincerely do not now if the current Wire library already solved that problem. Try to |
Apologies for the late reply! I just ran some tests using the 9 Axis Motion Shield and the UNO R4 WiFi and so far everything works fine. I am not sure if Wire was updated to fix any previous issues. Let me know if there are any issues remaining, in that case I'll set aside some time to investigate. |
I am testing the Arduino_NineAxesMotion library on the new Arduino UNO R4 Wifi version
https://github.com/arduino-libraries/Arduino_NineAxesMotion/tree/master
suggested for the 9 Axis Motion shield (in arduino Webpage).
Compilation seems ok, no errors.
When running the examples provided in the library (started with the Accelerometer example), the output data on the serial monitor lags consistently. No effects when changing the serial communication baudrate, thus I suppose it has problem in updating sensor data in these lines before the serial prints
if (updateSensorData) //Keep the updating of data as a separate task
{
mySensor.updateAccel(); //Update the Accelerometer data
mySensor.updateLinearAccel(); //Update the Linear Acceleration data
mySensor.updateGravAccel(); //Update the Gravity Acceleration data
mySensor.updateCalibStatus(); //Update the Calibration Status
updateSensorData = false;
}
Looking on the Arduino forum, I have a bad feeling about the I2C communication, but I do not have hardware to further test it.
The text was updated successfully, but these errors were encountered: