sparkfun / SparkFun_SCD30_Arduino_Library

An Arduino library for the SCD30 NDIR CO2 sensor.
Other
80 stars 47 forks source link

Latest version not compiling #10

Closed cmfrancis closed 4 years ago

cmfrancis commented 4 years ago

Latest release is giving this error in Arduino 1.8.10 when compiling for the Uno:

Documents\Arduino\libraries\SparkFun_SCD30_Arduino_Library-master\src\SparkFun_SCD30_Arduino_Library.cpp:257:12: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'? Multiple libraries were found for "Wire.h"

Arduino 1.8.11 doesn't have the Wire.h error but still has the printf error.

xvilajosana commented 4 years ago

same error found. Could you please fix?

nseidle commented 4 years ago

Sorry. This PR broke it.

Offending Serial.prints removed. Now compiles for Uno.