Skip to content
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

check out ian black's work #7

Open
jaxxzer opened this issue Jul 1, 2020 · 0 comments
Open

check out ian black's work #7

jaxxzer opened this issue Jul 1, 2020 · 0 comments

Comments

@jaxxzer
Copy link
Member

jaxxzer commented Jul 1, 2020

https://github.com/IanTBlack/br_sensors

  1. Changed variable/function names to more closely match TSYS01 manual.
  2. Combined read() and temperature() functions into one.
  3. Split _calculate into two functions (_read_adc and _adc2temp).
  4. Added multiple selection options to give user options for selecting temperature conversion units.
  5. Changed Kelvin conversion from 273 to 273.15.
  6. Added experimental burst_avg_temperature. Rapidly takes X number of samples, drops the first and last, and averages the rest. Need to run tests to determine if it provides any benefit.
  7. Added serial number function. I'm still trying to understand how bit manipulation works, so I may have gotten this wrong. I assumed it could be manipulated the same way as _calculate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant