-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds temperature compensation #39
Conversation
Oh, it looks like i didn't lint it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I do not have the hardware to test with.
I did have a look thru the datasheet and the implementation here seems consistent with it as far as I understand it.
Thanks for adding this functionality @purepani
Thanks! |
Updating https://github.com/adafruit/Adafruit_CircuitPython_MLX90393 to 2.2.0 from 2.1.5: > Merge pull request adafruit/Adafruit_CircuitPython_MLX90393#39 from purepani/add_temperature_compensation Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 6.1.2 from 6.1.1: > Merge pull request adafruit/Adafruit_CircuitPython_HID#128 from dhalbert/usb-hid-keyboard Updating https://github.com/adafruit/Adafruit_CircuitPython_PIOASM to 1.0.4 from 1.0.3: > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#66 from timchinowsky/add_pioasm_i2c_codec Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Updated download stats for the libraries
@purepani Any plans on adding the offsets? Enabling temperature compensation without them returns bad values. |
I'm currently extremely busy with like 500 other things, so if you want to take a shot at a PR, go for it. It's pretty simple to do I think, so I would recommend at least giving it a shot if you can |
Adds logic to enable temperature compensation
Since this feature pretty much requires access to the offset properties, they should be added as well.
I didn't have time today, but might add them tomorrow.
Fixes #36