Skip to content

Instantly share code, notes, and snippets.

@feesta
feesta / bmp180.device.nut
Last active October 4, 2015 22:10 — forked from smittytone/bmp180.device.nut
Adding default i2c_address_7_bit of 0x77
class BMP180_Sensor
{
// Squirrel Class for Bosch BMP180 Temperature and Pressure Sensor
// [http://www.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf]
// As used on the Adafruit BMP180 breakout board
// [http://www.adafruit.com/products/1603]
// Bus: I2C
// Note: current version only accounts for an oversampling_setting = 0