Skip to content

Commit e54c822

Browse files
committed
Added long to meas interval.
1 parent a20410c commit e54c822

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

examples/alarm-notification/alarm-notification.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
#define I2C_FREQ_HZ 400000
1212
#define PERIODIC_MEAS_INTERVAL_IN_SECONDS 10 /* demo-mode value; not recommended for long-term measurements */
13-
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60 /* specification value for stable operation (uncomment for long-time-measurements) */
13+
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60L /* specification value for stable operation (uncomment for long-time-measurements) */
1414
#define ALARM_PPM_THRESHOLD 1200
1515

1616
uint8_t interrupt_pin = 9; /* For XMC2Go. Change it for your hardware setup */

examples/continuous-mode/continuous-mode.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
#define I2C_FREQ_HZ 400000
1212
#define PERIODIC_MEAS_INTERVAL_IN_SECONDS 10 /* demo-mode value; not recommended for long-term measurements */
13-
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60 /* specification value for stable operation (uncomment for long-time-measurements) */
13+
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60L /* specification value for stable operation (uncomment for long-time-measurements) */
1414
#define PRESSURE_REFERENCE 900
1515

1616
/*

examples/early-notification/early-notification.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ uint8_t interruptPin = 9; /* For XMC2Go. Change it for your hardware setup
4747
*/
4848
#define I2C_FREQ_HZ 400000
4949
#define PERIODIC_MEAS_INTERVAL_IN_SECONDS 10 /* demo-mode value; not recommended for long-term measurements */
50-
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60 /* specification value for stable operation (uncomment for long-time-measurements) */
50+
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60L /* specification value for stable operation (uncomment for long-time-measurements) */
5151
#define EARLY_NOTIFICATION_ENABLED true
5252

5353
/*

examples/forced-compensation/forced-compensation.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
#define I2C_FREQ_HZ 400000
1212
#define PERIODIC_MEAS_INTERVAL_IN_SECONDS 10 /* demo-mode value; not recommended for long-term measurements */
13-
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60 /* specification value for stable operation (uncomment for long-time-measurements) */
13+
// #define PERIODIC_MEAS_INTERVAL_IN_SECONDS 60L /* specification value for stable operation (uncomment for long-time-measurements) */
1414
#define FORCED_COMPENSATION_CO2_REFERENCE 400
1515
#define PRESSURE_REFERENCE 900
1616

examples/single-shot-mode/single-shot-mode.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
#define I2C_FREQ_HZ 400000
1212
#define MEAS_INTERVAL_IN_SECONDS 10 /* demo-mode value; not recommended for long-term measurements */
13-
// #define MEAS_INTERVAL_IN_SECONDS 60 /* specification value for stable operation (uncomment for long-time-measurements) */
13+
// #define MEAS_INTERVAL_IN_SECONDS 60L /* specification value for stable operation (uncomment for long-time-measurements) */
1414

1515
/**
1616
* Create CO2 object. Unless otherwise specified,

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url":"https://github.com/Infineon/arduino-pas-co2-sensor.git",
88
"branch":"master"
99
},
10-
"version":"3.1.1",
10+
"version":"3.1.2",
1111
"license":"MIT",
1212
"frameworks":"arduino",
1313
"platforms":[

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=XENSIV PAS CO2
2-
version=3.1.1
2+
version=3.1.2
33
author=Infineon Technologies
44
maintainer=Infineon Technologies <www.infineon.com>
55
sentence=C/C++ library for Infineon XENSIV™ PAS CO2 sensor

0 commit comments

Comments
 (0)