-->
Page 1 of 1

Problems with the library "MPU9250"

PostPosted: Tue Jan 22, 2019 2:06 pm
by Adriele Valle
Good afternoon! I'm using an ESP8266 Wemos D1 Mini Pro with MPU9250.
I'm taking this code as a base: https://github.com/mciuraru/TelemetryRecorder
But the library of the MPU9250.h always gives an error.
Error message:
error: 'MPU9250_ADDRESS' was not declared in this scope
error: 'class MPU9250' has no member named 'SelfTest'
[...]

Re: Problems with the library "MPU9250"

PostPosted: Thu Jan 24, 2019 7:41 am
by QuickFix
That library is written for Arduino (= C++) and cannot be used with MMISCOOL's BASIC. :idea:

Re: Problems with the library "MPU9250"

PostPosted: Thu Jan 24, 2019 9:20 am
by Adriele Valle
Hi. Thanks for your answer, but I didn’t completely understand how to solve my problem. Could you please advise?

Re: Problems with the library "MPU9250"

PostPosted: Fri Jan 25, 2019 3:27 am
by QuickFix
Use Arduino if you want to use the library or find a library that's written for BASIC; you can't fit a square peg into a round hole.