kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.03k stars 471 forks source link

Quick Question on using MPL3115A2 Functions #387

Open mjs513 opened 4 years ago

mjs513 commented 4 years ago

Hi Kris

Long time. Have a quick question for you. No problems for once. I am playing around with Paul's NXPMotionSense library and just want to let you know that I am planning on using MPL3115A2 functions into that library if that is alright with you. Hate reinventing the wheel so to speak.

kriswiner commented 4 years ago

Sorry for the late reply, no problem-it's all open source. But this pressure sensor is terribly down rev, is it not?

On Sat, Sep 14, 2019 at 5:32 AM Mike S notifications@github.com wrote:

Hi Kris

Long time. Have a quick question for you. No problems for once. I am playing around with Paul's NXPMotionSense library and just want to let you know that I am planning on using MPL3115A2 functions into that library if that is alright with you. Hate reinventing the wheel so to speak.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/387?email_source=notifications&email_token=ABTDLKT5AXICZAR4E5CBSTDQJTKUZA5CNFSM4IWW45N2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLMAVOA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKUS6DGXCFSD6OWUGDLQJTKUZANCNFSM4IWW45NQ .

mjs513 commented 4 years ago

Not a problem. Not 100% sure on the web page its identified as a MPL3115A2.

Anyway the pieces I moved over was the code to read barometric and altimeter modes, as using toggleOneShot. I also reduced the OS to 32ms as opposed to 512ms that was currently in the code. Was going to add more but figured I would keep it simple

Getting descent results and a bit faster for the pressure and altimeter. I also added I function to set local sea level pressure.