Christoph Mair | 5bf1d29 | 2010-08-09 17:20:28 -0700 | [diff] [blame] | 1 | What: /sys/bus/i2c/devices/<busnum>-<devaddr>/pressure0_input |
| 2 | Date: June 2010 |
| 3 | Contact: Christoph Mair <christoph.mair@gmail.com> |
| 4 | Description: Start a pressure measurement and read the result. Values |
| 5 | represent the ambient air pressure in pascal (0.01 millibar). |
| 6 | |
| 7 | Reading: returns the current air pressure. |
| 8 | |
| 9 | |
| 10 | What: /sys/bus/i2c/devices/<busnum>-<devaddr>/temp0_input |
| 11 | Date: June 2010 |
| 12 | Contact: Christoph Mair <christoph.mair@gmail.com> |
| 13 | Description: Measure the ambient temperature. The returned value represents |
| 14 | the ambient temperature in units of 0.1 degree celsius. |
| 15 | |
| 16 | Reading: returns the current temperature. |
| 17 | |
| 18 | |
| 19 | What: /sys/bus/i2c/devices/<busnum>-<devaddr>/oversampling |
| 20 | Date: June 2010 |
| 21 | Contact: Christoph Mair <christoph.mair@gmail.com> |
| 22 | Description: Tell the bmp085 to use more samples to calculate a pressure |
| 23 | value. When writing to this file the chip will use 2^x samples |
| 24 | to calculate the next pressure value with x being the value |
| 25 | written. Using this feature will decrease RMS noise and |
| 26 | increase the measurement time. |
| 27 | |
| 28 | Reading: returns the current oversampling setting. |
| 29 | |
| 30 | Writing: sets a new oversampling setting. |
| 31 | Accepted values: 0..3. |