|
@@ -61,11 +61,15 @@
|
61
|
61
|
namespace upm {
|
62
|
62
|
|
63
|
63
|
/**
|
64
|
|
- * @brief C++ API for GY65 chip (Atmospheric Pressure Sensor)
|
|
64
|
+ * @brief C++ API for GY65/BMP085 chip (Atmospheric Pressure Sensor)
|
65
|
65
|
*
|
66
|
|
- * This file defines the gy65 C++ interface for libgy65
|
|
66
|
+ * The Bosch [BMP085]
|
|
67
|
+ * (https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf)
|
|
68
|
+ * is a high precision, ultra-low power consumption pressure sensor. It has a
|
|
69
|
+ * range of between 30,000 and 110,000 Pa.
|
67
|
70
|
*
|
68
|
71
|
* @snippet gy65.cxx Interesting
|
|
72
|
+ * @image html bmp085.jpeg
|
69
|
73
|
*/
|
70
|
74
|
class GY65 {
|
71
|
75
|
public:
|
|
@@ -76,7 +80,7 @@ class GY65 {
|
76
|
80
|
* @param devAddr address of used i2c device
|
77
|
81
|
* @param mode BMP085 mode
|
78
|
82
|
*/
|
79
|
|
- GY65 (int bus, int devAddr, uint8_t mode = BMP085_ULTRAHIGHRES);
|
|
83
|
+ GY65 (int bus, int devAddr=0x77, uint8_t mode=BMP085_ULTRAHIGHRES);
|
80
|
84
|
|
81
|
85
|
/**
|
82
|
86
|
* GY65 object destructor, basicaly it close i2c connection.
|