better calibration

This commit is contained in:
GrafZeppelin 2021-03-20 10:25:53 +01:00
parent 2a79454dd9
commit e96b88a9f2

View file

@ -25,7 +25,7 @@ v1.0 - First release
#define RLOAD 10.0
/// Calibration resistance at atmospheric CO2 level
// #define RZERO 76.63
#define RZERO 420
#define RZERO 680
/// Parameters for calculating ppm of CO2 from sensor resistance
#define PARA 116.6020682
#define PARB 2.769034857