typo
This commit is contained in:
parent
fac08df3d1
commit
703f5e6d1a
2 changed files with 3 additions and 4 deletions
|
@ -36,7 +36,7 @@ class MQ135 {
|
||||||
/// Get R0 in custom conditions for calibration purposes.
|
/// Get R0 in custom conditions for calibration purposes.
|
||||||
/// Can be used, if you know the current CO2 Level.
|
/// Can be used, if you know the current CO2 Level.
|
||||||
double getR0ByCO2Level(float ppm);
|
double getR0ByCO2Level(float ppm);
|
||||||
/// Set R0 Value foir calibration.
|
/// Set R0 Value for calibration.
|
||||||
void setR0(float r0);
|
void setR0(float r0);
|
||||||
|
|
||||||
/// Gets the resolved sensor voltage
|
/// Gets the resolved sensor voltage
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include "MQ135.h"
|
#include <MQ135.h>
|
||||||
|
|
||||||
#define PIN_MQ135 A0
|
#define PIN_MQ135 A0
|
||||||
#define PIN_LED_GREEN DD2
|
#define PIN_LED_GREEN DD2
|
||||||
|
@ -14,8 +14,7 @@ MQ135 co2_sensor(PIN_MQ135);
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
pinMode(PIN_MQ135, INPUT);
|
// co2_sensor.setR0(1000.);
|
||||||
co2_sensor.setR0(1000.);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void printValues(float ppm, float temp, float humidity);
|
void printValues(float ppm, float temp, float humidity);
|
||||||
|
|
Loading…
Add table
Reference in a new issue