Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloBMP085 campur bmp_baru cansat new
Fork of BMP085 by
BMP085 Class Reference
#include <BMP085.h>
Public Member Functions | |
| BMP085 (PinName p_sda, PinName p_scl, BMP085_oss p_oss=BMP085_oss1) | |
| Initializes interface (private I2C) | |
| BMP085 (I2C &p_i2c, BMP085_oss p_oss=BMP085_oss1) | |
| Initializes interface (public I2C) | |
| float | get_temperature () |
| Get temperature. | |
| float | get_pressure () |
| Get pressure. | |
| void | update () |
| Update results. | |
Detailed Description
BMP085 class.
Definition at line 31 of file BMP085.h.
Constructor & Destructor Documentation
| BMP085 | ( | PinName | p_sda, |
| PinName | p_scl, | ||
| BMP085_oss | p_oss = BMP085_oss1 |
||
| ) |
Initializes interface (private I2C)
- Parameters:
-
p_sda port of I2C SDA p_scl port of I2C SCL p_oss parameter of OSS
Definition at line 25 of file BMP085.cpp.
| BMP085 | ( | I2C & | p_i2c, |
| BMP085_oss | p_oss = BMP085_oss1 |
||
| ) |
Initializes interface (public I2C)
- Parameters:
-
p_i2c instance of I2C class p_oss parameter of OSS
Definition at line 34 of file BMP085.cpp.
Member Function Documentation
| float get_pressure | ( | ) |
| float get_temperature | ( | ) |
| void update | ( | ) |
Update results.
Definition at line 57 of file BMP085.cpp.
Generated on Fri Jul 15 2022 05:46:14 by
1.7.2
