Each sensor now has 6 (2 * 3) calibration values. Additionally it has a sensitivity value, and a unit value. When bulk reading is implemented there will be even more values.
Therefore implement a configuration file. Format: JSON or YAML.
Reading and writing the configuration file should both be done in the sensor driver objects. Not in the calibration script.
Each sensor now has 6 (2 * 3) calibration values. Additionally it has a sensitivity value, and a unit value. When bulk reading is implemented there will be even more values.
Therefore implement a configuration file. Format: JSON or YAML.
Reading and writing the configuration file should both be done in the sensor driver objects. Not in the calibration script.