SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By frodyteen
#192904
I am trying to connect SparkFun nRF52832 Breakout and Adafruit 9-DOF IMU Breakout - L3GD20H + LSM303 together and run the example code giving in the sensor library called "accelsensor". but nothing would show on the serial monitor.

for the Sparkfun nRF board, I modified the "variant.h" so that the SCL and SDA pins are 25 and 23 following this discussion https://learn.sparkfun.com/tutorials/nr ... 770f8b4567

Hardware connection:
saprkfun board adafruit sensor
3.3V <===> VIN
25 <===> SCL
23 <====> SDA
GND <====> GND

To debug this I checked and made sure the baud rate is the same, which is 9600 in this case.

The problem is, when I run the code, nothing gets print out on the serial port.


Following are the products:
https://www.sparkfun.com/products/13990
https://www.adafruit.com/product/1714