Skip to content

Commit e35ae5e

Browse files
author
Nathan Seidle
committed
Remove offending Serial statements
1 parent 2234a32 commit e35ae5e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name=SparkFun_SCD30_Arduino_Library
1+
name=SparkFun SCD30 Arduino Library
22
version=1.0.5
3-
author=SparkFun Electronics <[email protected]>
3+
author=SparkFun Electronics
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=Library for the Sensirion SCD30 CO2 Sensor
66
paragraph=An Arduinolibrary for the SCD30 CO2 sensor from Sensirion. The SCD30 is a high quality <a href="https://en.wikipedia.org/wiki/Nondispersive_infrared_sensor">NDIR</a> based CO₂ sensor capable of detecting 400 to 10000ppm with an accuracy of ±(30ppm+3%). In order to improve accuracy the SCD30 has temperature and humidity sensing built-in, as well as commands to set the current altitude.<br><br>Get the SCD30 <a href="https://www.sparkfun.com/products/14751">here</a>.

src/SparkFun_SCD30_Arduino_Library.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ bool SCD30::readMeasurement()
245245
const uint8_t foundCrc = computeCRC8(bytesToCrc, 2);
246246
if (foundCrc != incoming)
247247
{
248-
Serial.printf("Found CRC in byte %u, expected %u, got %u\n", x, incoming, foundCrc);
248+
//Serial.printf("Found CRC in byte %u, expected %u, got %u\n", x, incoming, foundCrc);
249249
error = true;
250250
}
251251
break;
@@ -254,13 +254,13 @@ bool SCD30::readMeasurement()
254254
}
255255
else
256256
{
257-
Serial.printf("No SCD30 data found from I2C, i2c claims we should receive %u bytes\n", receivedBytes);
257+
//Serial.printf("No SCD30 data found from I2C, i2c claims we should receive %u bytes\n", receivedBytes);
258258
return false;
259259
}
260260

261261
if (error)
262262
{
263-
Serial.println("Encountered error reading SCD30 data.");
263+
//Serial.println("Encountered error reading SCD30 data.");
264264
return false;
265265
}
266266
//Now copy the uint32s into their associated floats

0 commit comments

Comments
 (0)