Example #1
0
void GY80Task::setupBMP085()
{
	if (!bmp.begin()) {
		LogUtils::instance()->logTrace(LogUtils::error, "Could not find a valid BMP085 sensor, check wiring!");
		while (1) {}
	}
}
Example #2
0
void iniBMP080(){
	if (!bmp.begin()) {
		Serial.println("Could not find a valid BMP085 sensor, check wiring!");
		while (1) {}
	}
}
Example #3
0
/* Initialization */
void sensor_init(void)
{
 bmp085.begin();      
}
void sensors_setup() {
  if (!bmp.begin()) {
//	Serial.println("Could not find a valid BMP085 sensor, check wiring!");
	while (1) {}
  }
}