ms5837-python
ms5837-python copied to clipboard
check out ian black's work
https://github.com/IanTBlack/br_sensors
- Used TEOS-10 pressure to depth conversion to compute depth.
- Changed variable/function names to more closely match MS5837-30BA manual.
- Combined read and temperature/pressure/depth/altitude functions into one.
- temperature/pressure/depth/altitude are called independently of one another. They do rely on one another, but I formatted in a way that doesn't require users to call pressure before calling depth.
- absolute_pressure() give the absolute pressure reading in user selected units
- pressure() removes atmospheric pressure if given. if not it uses standard atmospheric pressure.