Jump to content
I2Cdevlib Forums

Using differential example: only first diff is correct


Recommended Posts

Hey,

 

I am testing your library, loving the debug options. After doing some copying and trying, I have hooked up the ADS1115 (adafruit breakout) to a Mega and a calibrator. Using your example code for the differentiator, I notice that only the first sample, right after the initialisation, is correct. All others have a tiny count.

 

Any idea how to attack this?

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Sorry for piggy backing this comment off this thread, but I'm calculating attitude information for UAV using magnetometer and gyroscope. I want to use the MPU gyro and I can read raw values. I was wondering if anyone knew how to set the FS_SEL of the device to 1? I could probably discover this myself, but I'm so busy I can't even brush my teeth.

 

Best Regards,

 

Shawn Daniel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...