goat-hill / bitclock

An e-ink desk companion
https://bitclock.io
MIT License
53 stars 6 forks source link

Modify SCD40 calibration periods #46 #1

Closed babldev closed 3 months ago

babldev commented 3 months ago

Currently set_automatic_self_calibration_initial_period defaults to 44 hours. But that assumes one read every 5 minutes and we read every 5 seconds.

So for "default" behavior we should probably multiply this value by 60. Needs to be sent on boot.

Also scale set_automatic_self_calibration_standard_period in the same fashion

babldev commented 3 months ago

Nevermind, this only applies to single shot measurement modes. we're not using that