|
template<typename I2cMaster > |
class | Ams5915 |
|
template<typename I2cMaster >
This method returns the pressure as a normalized float from 0-1. You have to scale and offset this according to the specific sensor you have. So if you have AMS 5915-0010-D, you can measure +10mBar, you need to multiply it with 10.0f to get the pressure in mBar. If you have AMS 5915-0350-D-B, which can measure ±350mBar you first need to subtract 0.5f and then multiply it with 350.0f!
template<typename I2cMaster >
This method returns the temperature of the pressure sensor in °C.
The documentation for this struct was generated from the following file: