10 years, 6 months ago.

XTRINSIC-SENSORS-EVK MMA8491Q Library

Hi there,

Has anyone tried out the XTRINSIC-SENSOR-EVK by mbed? My questions are:

1. Is there any MMA8491Q library available for mbed compiler?

2. How to resolve the I2C device polling between MMA8491Q, MAG3110 and MPL3115A2 of the extra sensor board?

I appreciate you guy's comment.

Thanks

1 Answer

10 years, 6 months ago.

I looked at the data sheet and i2c seems to be like in LSM303 accelometer&compass chip. See single and multibyte read/write samples here:

http://mbed.org/users/bengo/code/minimu9/file/6ee4ef99c382/LSM303.cpp

If you implement the libray from scratch there is only under 100 lines of code.

Accepted Answer

Hi Eero,

Thanks for your information. I will check it out.

jppang

posted by JP PANG 08 Oct 2013