2025-11-2012
This commit is contained in:
@@ -24,11 +24,13 @@ HardwareSerial Co2Port(1); // use UART2
|
||||
#define CO2_WARN_5 2000
|
||||
#define CO2_CRITICAL_PPM 1850
|
||||
|
||||
int CO2Wert = -99;
|
||||
//int CO2Wert = -99;
|
||||
char antwort[100] = {0xFF};
|
||||
int range =2000;
|
||||
bool readCo2Flag = true;
|
||||
|
||||
|
||||
|
||||
char getCheckSum(char *packet)
|
||||
{
|
||||
char i, checksum;
|
||||
@@ -94,7 +96,7 @@ void setRange()
|
||||
void beginC02()
|
||||
{
|
||||
Co2Port.begin(9600, SERIAL_8N1, 32, 33);
|
||||
readCo2Flag = false;
|
||||
//readCo2Flag = false;
|
||||
delay(100);
|
||||
calibrationCo2();
|
||||
delay(100);
|
||||
|
||||
Reference in New Issue
Block a user