Hello All, I tried running this example but nothing was printed to the serial monitor. The baud rate was correct so that isn't the issue.. The two libraries were downloaded from github. (see below) https://github.com/mlwarner/fxos8700cq-arduino https://github.com/sabas1080/FXAS21002C_Arduino_Library I've been able to get other sketches running and printing to the serial monitor. any help with this would be appreciated as I'd like to know how to control these sensors. Thank you
Thank you waltervl for your help. I used the libraries in your second link and the sketch is running. The problem I've run into now is the data from the motion sensors is not changing as I move the Neo. Any thoughts? Perhaps a setting on the Linux side? I'm running UDoobuntu 2 RC1. I appreciate your help
Did you disable the I2C-4 bus on the A9 side with the device tree editor as stated in the manual? http://www.udoo.org/docs-neo/Arduin...e_9-axis_motion_sensors_from_the_M4_Core.html
Yes I did. Sorry was just about to add that to my post. I tried rebooting and a full shutdown but still no change in the values.
I'm not sure how to do that. I tried the following. http://www.udoo.org/docs-neo/Hardware_&_Accessories/Motion_sensor.html There is no directory call "FreescaleAccelerometer" in the "/sys/class/misc" folder. when trying the command "i2cset -f -y 3 0x1e 0x2a 1" I get "Error: Write Failed" I also enabled the i2c-4 bus on the A9 before doing this.
Well I only have a basic Neo so I am not able to assist you further in this, perhaps someone else has it working.
I tried that. It just says that the directory doesn't exist. thank you for all your help. I'll keep trying to figure this out.