GinDiamond
Member
Hello,
I'm trying to use this device:
https://www.tindie.com/products/onehorse/mpu9250-teensy-3x-add-on-shields/
on a Teensy 3.2. However, once I got it soldered on in the right spot and uploaded a sketch, I couldn't see the 9dof at all. I tried using Wire1 instead of Wire as the page said, but it seems to just hang at Wire1.begin() if I do so.
Code I'm using to test:
I tried using different mpu9250 libraries and all show the same thing; nothing on Wire1.
I do have all pads soldered to the back of the Teensy, but the pin 33 doesn't "seem" to be causing issues.
Does anyone have ideas?
I'm trying to use this device:
https://www.tindie.com/products/onehorse/mpu9250-teensy-3x-add-on-shields/
on a Teensy 3.2. However, once I got it soldered on in the right spot and uploaded a sketch, I couldn't see the 9dof at all. I tried using Wire1 instead of Wire as the page said, but it seems to just hang at Wire1.begin() if I do so.
Code I'm using to test:
Code:
#include "MPU9250.h"
MPU9250 mpu;
void setup()
{
Serial.begin(115200);
Wire1.begin();
Serial.println("I2C Successful");
delay(2000);
mpu.setup();
delay(5000);
// calibrate anytime you want to
mpu.calibrateAccelGyro();
mpu.calibrateMag();
mpu.printCalibration();
}
void loop()
{
}
I tried using different mpu9250 libraries and all show the same thing; nothing on Wire1.
I do have all pads soldered to the back of the Teensy, but the pin 33 doesn't "seem" to be causing issues.
Does anyone have ideas?