mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-ms56xx.git
synced 2025-12-07 22:58:03 +00:00
c7299a83721a0d5de87eb003f0921114b1d036bc
Driver for the MS5607 pressure sensor
Usage
- The driver has two main methods:
int32_t getPressure()andint32_t getTemperature() - The constructor takes an SpiDevice pointer and an instance from the OsrLevel enum
- The OsrLevel enum stores the possible values for the OSR (how fine the sensor measures or sth.)
- When calling
getPressure(), the temperature gets requested from the sensor as well -> May be too slow
TODO
- Debug
- Add more accurate temperature calculations
- Change structure of requesting values
- Method for requesting ADC, then return from method to allow MCU to do different things
- Another Method to do the ADC readout and calculations
- Store dT for multiple uses (access only through method, which counts uses down?)
Languages
C++
100%