Golang package for reading environmental data from a BMP180 environmental I2C sensor.
Package stub
provides an emulated BMP180 device that can be used to test functionality of the bmp180
package when no I2C bus or physical device is attached or available.
Pressure and temperature calculations are based on a paper called "Bosch BMP085 Barometer Floating Point Pressure Calculations".
See bmp180_test.go
for a working example.
Copyright 2017 Michael Franzl. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.