When I compile this code to my ESP32 the following error appears:
In file included from C:\Users\User\Documents\GyroMocapUE4-master\GyroMocapUE4-master\GyroSensor_MPU9250_ESP32\GyroSensor_MPU9250_ESP32.ino:3:
C:\Users\Pedro\Documents\GyroMocapUE4-master\GyroMocapUE4-master\GyroSensor_MPU9250_ESP32\MPU9250_9Axis.h:683:2: error: #endif without #if
endif / _MPU9250_9AXIS_MOTIONAPPS41H/
^~~~~
First It won't recognize I2CDev Library if it isn't in the same folder as the Top Level. Then this error start showing after I add it to the top level's folder.
When I compile this code to my ESP32 the following error appears:
In file included from C:\Users\User\Documents\GyroMocapUE4-master\GyroMocapUE4-master\GyroSensor_MPU9250_ESP32\GyroSensor_MPU9250_ESP32.ino:3: C:\Users\Pedro\Documents\GyroMocapUE4-master\GyroMocapUE4-master\GyroSensor_MPU9250_ESP32\MPU9250_9Axis.h:683:2: error: #endif without #if
endif / _MPU9250_9AXIS_MOTIONAPPS41H /
^~~~~
First It won't recognize I2CDev Library if it isn't in the same folder as the Top Level. Then this error start showing after I add it to the top level's folder.