Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions MQ135.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@ v1.0 - First release
#endif

/// The load resistance on the board
#ifndef RLOAD
#define RLOAD 10.0
#endif

/// Calibration resistance at atmospheric CO2 level
#ifndef RZERO
#define RZERO 76.63
#endif

/// Parameters for calculating ppm of CO2 from sensor resistance
#define PARA 116.6020682
#define PARB 2.769034857
Expand Down