Homer Creutz

Results 199 comments of Homer Creutz

You should now use: `mpu.dmpGetCurrentFIFOPacket(data) ;` Call this function when you need the latest packet. If no data is available it returns zero So you could: ```` if(mpu.dmpGetCurrentFIFOPacket(data)) { //your...

dsyleixa, So let's see if Jeff will add this to his MPU6050 examples but before I do so. Would you try it out and let me know what you think....

Removing these lines from MPU6050_6Axis_MotionApps_V6_12.h should solve the problem: typedef int8_t prog_int8_t; typedef uint8_t prog_uint8_t; typedef int16_t prog_int16_t; typedef uint16_t prog_uint16_t; typedef int32_t prog_int32_t; typedef uint32_t prog_uint32_t;

Of course poor or incorrect programming practices pop up all over the place. I'm not a programming master but just a hobbiest that loves robotics. Also note it's not my...

Did the change work for your ESP32? I have no way of testing my atmega328 my system isn't affected by having this in place. ``` #ifdef __AVR__ typedef int8_t prog_int8_t;...

This should be all these is used for avr processors ``` #ifdef __AVR__ #include #elsev ``` I need to get an esp32 it looks like Z

`#define BUFFER_LENGTH 32` Should do the trick. This represents the i2c buffer size of your device some devices have larger buffers I googled the ESP32 and this is the size...

I'm not at my home to test anything. I apologize that the support is limited Here is what I changed to get it to compile with a random esp32 configuration...

if you commented this out already then nothing more on your part is needed. This just removes these lines of code if they are not usable ``` /* typedef void...

#include "yourfilename.h"// header file Should work Place them in the same directory so the compiler can find the file. I'm not the expert at proper formatting etc. But some changes...