updated for datenlogger needs

This commit is contained in:
lars
2024-02-23 16:49:22 +01:00
parent 15d53829d7
commit 210f527973
2 changed files with 8 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
#ifndef STA_SENSORS_MS5607_HPP
#define STA_SENSORS_MS5607_HPP
#include<sta/spi/device.hpp>
#include<sta/devices/stm32/bus/spi.hpp>
#include<sta/endian.hpp>
#include<sta/stm32/delay.hpp>
#include<sta/devices/stm32/delay.hpp>
namespace sta {
// Class to represent a MS5607 pressure sensor which is used with SPI
@@ -18,7 +18,7 @@ namespace sta {
_4096 = 4
};
MS5607(SpiDevice* device, OsrLevel osr=OsrLevel::_1024);
MS5607(STM32SPIDevice* device, OsrLevel osr=OsrLevel::_1024);
// Request Calculation of uncompensated pressure
// Takes a few ms -> Call, then do sth. else, then get Pressure with function
@@ -65,7 +65,7 @@ namespace sta {
bool presRead;
// STA internal object for SPi abstraction
SpiDevice* device_;
STM32SPIDevice* device_;
OsrLevel osr_;
// 6 Different constants; Includes Offsets, references etc.
@@ -120,4 +120,4 @@ namespace sta {
}
#endif // ifndef STA_SENSORS_MS5607_HPP
#endif // ifndef STA_SENSORS_MS5607_HPP