Pluscrafter
Pluscrafter
I have sucessfully used the DMP on my raspi zero, i will provide an example (probably tomorrow), if you want that. But then there is a bug that the mpu6050...
It depends some I2c devices works with the mpu6050dmp, like the BMP180 or HMC1886l(don't have the exact number, is a magnetometer), but others like the pca9685 (DCA) seems not to...
Here is a example from Richardghirst, https://github.com/richardghirst/PiBits/tree/master/MPU6050-Pi-Demo there is a dmp example in there.
> Do you know the reason why it fails? I have a GPS (Ublox Neo-Gy-6M), a OLED (http://hallard.me/adafruit-oled-display-driver-for-pi/), an MCP23017, 2 ASD1115 ADC, a PCA9685 Servo board, an Arduino slave...
> > > > Here is a example from Richardghirst, > > https://github.com/richardghirst/PiBits/tree/master/MPU6050-Pi-Demo there is a dmp example in there. > > which is the file I need to c+p...
> > > Does the Pi use an interrupt GPIO? > https://github.com/richardghirst/PiBits/blob/master/MPU6050-Pi-Demo/demo_dmp.cpp > in case yes, which one? I think you can use Interrupts on all GPIO(expet for SDA/SDL and...
no you dont have to wire the Interrupt pin.
> BTW, what does that ......... wrapper mean for printf("ypr %7.2f %7.2f %7.2f ", ypr[0] * 180/M_PI, ypr[1] * 180/M_PI, ypr[2] * 180/M_PI); ? http://www.dailyfreecode.com/code/formatted-output-real-numbers-2575.aspx
ah because there was a email notification for me.
I have an working example with the STM32 HAL library(created with CubeMX). I'll post the code this evening you just have to change the spi port and the pins for...