Specifically what doesn't work?hello
I'm trying to use the Sparkfun library to manipulate the mpu9250 sensor on my flight controller, but I'm running into problems, because it doesn't work. Is there anyone who can help me?
there is no output. just this "Specifically what doesn't work?
If you do anything with SPI/I2C much beyond the plug-in Arduino shields, you HAVE to get a logic analyzer. I'm partial to Salae, but there are others out there there are cheaper. Case in point: When I was working on the new Proton update, the ADXL375 accelerometer chip wasn't behaving as it should. Turns out that the SPI library for the ESP8266 can't do SPI Mode 3, even though it says that it can, even after making some code changes to the library. I fixed it with a glue logic chip. There's no way that I would have figured this out without a logic analyzer.So your hardware is not communicating. Are you using I2C or SPI? Do you have some type of a logic analyzer so you can see the signals on the i2C or SPI bus?
I can't help you debug a communication (hardware issue) without a logic analyzer. If you are getting 0xFF with a WHO_AM_I command you have a communication issue.yes I'm sure. and I was getting a correct output from it before I change my windows.
yes it is i2c connection. wire2.
the microcontroller is teensy
Might mean he had 2 instances of Arduino IDE running simultaneously in Windoze. Or Windoze has forced an upgrade on him in the middle of trying to work. Either of which needs a reboot as a minimum.....and maybe an update of Arduino IDE with 6 cups of tea/coffee while that happens.>>and I was getting a correct output from it before I change my windows
What does this ^ mean?
Enter your email address to join: