mirror of
https://github.com/eclipse/upm.git
synced 2025-06-10 07:10:22 +03:00

Some private methods (relating to calibration/compensation) are no longer exposed. In addition, the driver auto-detects the chip (BMP280 or BME280) and acts accordingly, rather than requiring the specification of a chip id in the ctor. The getHumidity() method no longer accepts an arguement representing pressure at sea level. A new method is provided to specify this. Signed-off-by: Jon Trulson <jtrulson@ics.com>
30 lines
491 B
OpenEdge ABL
30 lines
491 B
OpenEdge ABL
// Include doxygen-generated documentation
|
|
%include "pyupm_doxy2swig.i"
|
|
%module pyupm_bmp280
|
|
%include "../upm.i"
|
|
%include "cpointer.i"
|
|
|
|
%include "stdint.i"
|
|
|
|
%feature("autodoc", "3");
|
|
|
|
#ifdef DOXYGEN
|
|
%include "bmp280_doc.i"
|
|
#endif
|
|
|
|
%include "iModuleStatus.hpp"
|
|
%include "iHumiditySensor.hpp"
|
|
%include "iPressureSensor.hpp"
|
|
%include "iTemperatureSensor.hpp"
|
|
|
|
%include "bmp280_regs.h"
|
|
%include "bmp280.hpp"
|
|
%{
|
|
#include "bmp280.hpp"
|
|
%}
|
|
|
|
%include "bme280.hpp"
|
|
%{
|
|
#include "bme280.hpp"
|
|
%}
|