Closed physikant closed 3 years ago
It is already implemented, but a helper function would be nice. I'll see what I can do.
Checkout ex 2 in the latest release. Please let us know if you have problems.
Great, it is working for me. Thanks a lot!
Good to hear!
I noticed that the getMeasurementInterval() function is not implemented. I'm not an experienced C programmer, but I managed to implement it myself by adding "uint16_t getMeasurementInterval(void); " on line 96 of the header file and adding "//Get the measurement interval. See 1.3.8. uint16_t SCD30::getMeasurementInterval(void) { return readRegister(COMMAND_SET_MEASUREMENT_INTERVAL); }" to the cpp file.