Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 8 months ago.
Error reading from LSM9DS0 using i2c protocol
Hello!
I am trying to get the sensor output from Sparfun's LSM9DS0 using mbed's built-library "LSM9DS0.h". It works perfectly with my LPC1768, however, I keeps getting 0 when I connect the sensor to NUCLEO-F411RE. What could be the problem if the codes are almost identical? (I only changed pin numbers, which are D15 and D14) Could it be the resistance of pull-up resistors too high for F411RE? The pull up resistors for LSM9dS0 are 10k ohms.
Thanks
Guang