Closed koendv closed 3 years ago
This pull request adds a sensorID() function to the BMP280 library. sensorID() returns 0x61 for BME680, 0x60 for BME280, 0x56, 0x57, 0x58 for BMP280, and 0x0 if the sensor is no longer plugged in. I use this to check if a sensor is still responsive.
please run clang-format so CI passes :)
thanx!
A pleasure. I hope you guys make it through these times unscathed.
This pull request adds a sensorID() function to the BMP280 library. sensorID() returns 0x61 for BME680, 0x60 for BME280, 0x56, 0x57, 0x58 for BMP280, and 0x0 if the sensor is no longer plugged in. I use this to check if a sensor is still responsive.