add BMP085 (and BMP180) sensor (temperature and air pressure)

This commit is contained in:
Thomas Herrmann
2024-03-02 22:14:34 +01:00
parent 7f12505716
commit 763ae9f2e2
7 changed files with 61 additions and 0 deletions

View File

@@ -242,6 +242,10 @@ void ScanI2CTwoWire::scanPort(I2CPort port)
LOG_INFO("BME-280 sensor found at address 0x%x\n", (uint8_t)addr.address);
type = BME_280;
break;
case 0x55:
LOG_INFO("BMP-085 or BMP-180 sensor found at address 0x%x\n", (uint8_t)addr.address);
type = BMP_085;
break;
default:
LOG_INFO("BMP-280 sensor found at address 0x%x\n", (uint8_t)addr.address);
type = BMP_280;