Did a couple of searches on this and don’t see anything relevant.
SCD30 CO2 sensor and a Red Board.
Sketch Example1_BasicReadings.ico date May 22, 2018
Looks like I’m getting errors in SparkFun_SCD30_Arduino_Library.cpp.
Here is the orange text from the Ardunio IDE.
Thanks for looking.
C:\Users\M313173\Documents\MATT DOCS\portable\arduino-1.8.10\portable\sketchbook\libraries\SparkFun_SCD30_Arduino_Library-master\src\SparkFun_SCD30_Arduino_Library.cpp: In member function ‘bool SCD30::readMeasurement()’:
C:\Users\M313173\Documents\MATT DOCS\portable\arduino-1.8.10\portable\sketchbook\libraries\SparkFun_SCD30_Arduino_Library-master\src\SparkFun_SCD30_Arduino_Library.cpp:248:18: error: ‘class HardwareSerial’ has no member named ‘printf’; did you mean ‘print’?
Serial.printf(“Found CRC in byte %u, expected %u, got %u\n”, x, incoming, foundCrc);
^~~~~~
C:\Users\M313173\Documents\MATT DOCS\portable\arduino-1.8.10\portable\sketchbook\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’?
Serial.printf(“No SCD30 data found from I2C, i2c claims we should receive %u bytes\n”, receivedBytes);
^~~~~~
Multiple libraries were found for “SparkFun_SCD30_Arduino_Library.h”
Used: C:\Users\M313173\Documents\MATT
Not used: C:\Users\M313173\Documents\MATT
Not used: C:\Users\M313173\Documents\MATT
Multiple libraries were found for “Wire.h”
Used: C:\Users\M313173\Documents\MATT
Using library SparkFun_SCD30_Arduino_Library-master at version 1.0.5 in folder: C:\Users\M313173\Documents\MATT DOCS\portable\arduino-1.8.10\portable\sketchbook\libraries\SparkFun_SCD30_Arduino_Library-master
Using library Wire at version 1.0 in folder: C:\Users\M313173\Documents\MATT DOCS\portable\arduino-1.8.10\hardware\arduino\avr\libraries\Wire
exit status 1
Error compiling for board Arduino/Genuino Uno.