- add 3D math helper file to DMP6 example sketch - add gravity-compensated initial reference frame acceleration output - fix broken FIFO read sequence and change interrupt detection to RISING - pull gyro and accel data from FIFO packet instead of reading directly - completely rearranged DMP initialization code and simplification - improved FIFO overflow handling and simplified read process - added note about Arduino 1.0.1 + Leonardo compatibility error Updates should (hopefully) always be available at I2C device class (I2Cdev) demonstration Arduino sketch for MPU6050 class using DMP (MotionApps v2.0) I know it says in the teensyduino reference that all digital pins can be used as interrupts, but I'm not sure if there's anything in the code I need to change. Also of note, I have my teensy soldered with an audio shield, which may be part of the problem? Otherwise, everything is attached the same way it was on the UNO. I went through with an alligator clip and touched it to the remaining unused pins with no luck, either, but I don't know if that was a solid connection. I've tried connecting the interrupt on the MPU 6050 to pin 0 (as it says in the code) and 2 (the pin I used on the UNO) with no luck. I'll initialize in the serial monitor, and the device will stall out waiting for an interrupt. I ran it successfully with an UNO, but I want to use it in a teensy project, so I moved everything over and its not working. I'm trying to go through the mpu 6050 tutorial found here. ![]() I've tried everything I can think of to solve it with no luck.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |