SparkFun MAX3010x Pulse and Proximity Sensor Library - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

SparkFun MAX3010x Pulse and Proximity Sensor Library

Version: 1.1.1
More details

Compatibility matrix

Board Claims compatibility Inclusion
Example1_Basic_Readings
Example3_Temperature_Sense
Example7_Basic_Readings_Interrupts
Example8_SPO2
Example9_RateTesting
Example2_Presence_Sensing
Example4_HeartBeat_Plotter
Example5_HeartRate
Example6_FIFO_Readings
arduino:avr:uno
1.8.4
Yes PASS PASS PASS FAIL PASS FAIL FAIL FAIL PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
Yes PASS PASS PASS PASS FAIL PASS PASS PASS PASS FAIL
arduino:megaavr:nona4809
1.8.7
Yes PASS PASS PASS FAIL FAIL FAIL PASS PASS PASS FAIL
arduino:samd:mkrwifi1010
1.8.12
Yes PASS FAIL PASS PASS FAIL PASS PASS FAIL PASS PASS
esp32:esp32:d1_mini32
1.0.6
Yes PASS PASS FAIL FAIL PASS PASS PASS PASS FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: PASS

Sketch uses 1636 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 122 bytes (5%) of dynamic memory, leaving 1926 bytes for local variables. Maximum is 2048 bytes.

examples/Example1_Basic_Readings

Result: PASS

Sketch uses 5796 bytes (17%) of program storage space. Maximum is 32256 bytes.
Global variables use 555 bytes (27%) of dynamic memory, leaving 1493 bytes for local variables. Maximum is 2048 bytes.

examples/Example2_Presence_Sensing

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:37:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:51:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:53:18: error: 'class MAX30105' has no member named 'setPulseAmplitudeRed'
   particleSensor.setPulseAmplitudeRed(0); //Turn off Red LED
                  ^~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:54:18: error: 'class MAX30105' has no member named 'setPulseAmplitudeGreen'
   particleSensor.setPulseAmplitudeGreen(0); //Turn off Green LED
                  ^~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:60:38: error: 'class MAX30105' has no member named 'getIR'
     unblockedValue += particleSensor.getIR(); //Read the IR value
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:72:31: error: 'class MAX30105' has no member named 'getIR'
   Serial.print(particleSensor.getIR());
                               ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example2_Presence_Sensing/Example2_Presence_Sensing.ino:77:38: error: 'class MAX30105' has no member named 'getIR'
   long currentDelta = particleSensor.getIR() - unblockedValue;
                                      ^~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101

examples/Example3_Temperature_Sense

Result: PASS

Sketch uses 6700 bytes (20%) of program storage space. Maximum is 32256 bytes.
Global variables use 563 bytes (27%) of dynamic memory, leaving 1485 bytes for local variables. Maximum is 2048 bytes.

examples/Example4_HeartBeat_Plotter

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:44:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:58:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:68:33: error: 'class MAX30105' has no member named 'getIR'
     baseValue += particleSensor.getIR(); //Read the IR value
                                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:79:33: error: 'class MAX30105' has no member named 'getIR'
   Serial.println(particleSensor.getIR()); //Send raw data to plotter
                                 ^~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library

examples/Example5_HeartRate

Result: PASS

Sketch uses 8238 bytes (25%) of program storage space. Maximum is 32256 bytes.
Global variables use 753 bytes (36%) of dynamic memory, leaving 1295 bytes for local variables. Maximum is 2048 bytes.

examples/Example6_FIFO_Readings

Result: PASS

Sketch uses 7346 bytes (22%) of program storage space. Maximum is 32256 bytes.
Global variables use 569 bytes (27%) of dynamic memory, leaving 1479 bytes for local variables. Maximum is 2048 bytes.

examples/Example7_Basic_Readings_Interrupts

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:40:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:54:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:56:18: error: 'class MAX30105' has no member named 'enableAFULL'
   particleSensor.enableAFULL(); //Enable the almost full interrupt (default is 32 samples)
                  ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:58:18: error: 'class MAX30105' has no member named 'setFIFOAlmostFull'
   particleSensor.setFIFOAlmostFull(3); //Set almost full int to fire at 29 samples
                  ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:65:18: error: 'class MAX30105' has no member named 'check'
   particleSensor.check(); //Check the sensor, read up to 3 samples
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:72:33: error: 'class MAX30105' has no member named 'getRed'
     Serial.print(particleSensor.getRed());
                                 ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:74:33: error: 'class MAX30105' has no member named 'getIR'
     Serial.print(particleSensor.getIR());
                                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:76:33: error: 'class MAX30105' has no member named 'getGreen'
     Serial.print(particleSensor.getGreen());
                                 ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:86:33: error: 'class MAX30105' has no member named 'getINT1'
     byte flags = particleSensor.getINT1(); //Software way of reading interrupts
                                 ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:96:20: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^~~~~~~~~~
                    readSample
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library

examples/Example8_SPO2

Result: PASS

Sketch uses 10296 bytes (31%) of program storage space. Maximum is 32256 bytes.
Global variables use 1857 bytes (90%) of dynamic memory, leaving 191 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.

examples/Example9_RateTesting

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:49:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:63:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:73:20: error: 'class MAX30105' has no member named 'check'
     particleSensor.check(); //Check the sensor, read up to 3 samples
                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:77:22: error: 'class MAX30105' has no member named 'getFIFOIR'
       particleSensor.getFIFOIR();
                      ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:78:22: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
       particleSensor.nextSample(); //We're finished with this sample so move to next sample
                      ^~~~~~~~~~
                      readSample
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: PASS

Sketch uses 81706 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44220 bytes (16%) of dynamic memory, leaving 226116 bytes for local variables. Maximum is 270336 bytes.

examples/Example1_Basic_Readings

Result: PASS

Sketch uses 83380 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44284 bytes (16%) of dynamic memory, leaving 226052 bytes for local variables. Maximum is 270336 bytes.

examples/Example2_Presence_Sensing

Result: PASS

Sketch uses 84274 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44296 bytes (16%) of dynamic memory, leaving 226040 bytes for local variables. Maximum is 270336 bytes.

examples/Example3_Temperature_Sense

Result: PASS

Sketch uses 84736 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44284 bytes (16%) of dynamic memory, leaving 226052 bytes for local variables. Maximum is 270336 bytes.

examples/Example4_HeartBeat_Plotter

Result: PASS

Sketch uses 83366 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44284 bytes (16%) of dynamic memory, leaving 226052 bytes for local variables. Maximum is 270336 bytes.

examples/Example5_HeartRate

Result: PASS

Sketch uses 86288 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44384 bytes (16%) of dynamic memory, leaving 225952 bytes for local variables. Maximum is 270336 bytes.

examples/Example6_FIFO_Readings

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:9: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
         ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:36:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:36:34: note: suggested alternative: 'I2C_SDA'
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^~~~~~~~~~~~~~
                                  I2C_SDA
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:50:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:58:18: error: 'class MAX30105' has no member named 'check'
   particleSensor.check(); //Check the sensor, read up to 3 samples
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:65:33: error: 'class MAX30105' has no member named 'getFIFORed'
     Serial.print(particleSensor.getFIFORed());
                                 ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:67:33: error: 'class MAX30105' has no member named 'getFIFOIR'
     Serial.print(particleSensor.getFIFOIR());
                                 ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:69:33: error: 'class MAX30105' has no member named 'getFIFOGreen'
     Serial.print(particleSensor.getFIFOGreen());
                                 ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:76:20: error: 'class MAX30105' has no member named 'nextS

examples/Example7_Basic_Readings_Interrupts

Result: PASS

Sketch uses 84666 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44292 bytes (16%) of dynamic memory, leaving 226044 bytes for local variables. Maximum is 270336 bytes.

examples/Example8_SPO2

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:30:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:30:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:9: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
         ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:64:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:64:35: note: suggested alternative: 'I2C_SDA'
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
                                   I2C_SDA
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:81:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:92:22: error: 'class MAX30105' has no member named 'check'
       particleSensor.check(); //Check the sensor for new data
                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:94:35: error: 'class MAX30105' has no member named 'getRed'
     redBuffer[i] = particleSensor.getRed();
                                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:95:34: error: 'class MAX30105' has no member named 'getIR'
     irBuffer[i] = particleSensor.getIR();
                                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:96:20: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^~~~~~~~~~
                    readSample
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:121:24: error: 'class MAX30105' has no member named 'check'
         particleSensor.check(); //Check the sensor for new data
                        ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MA

examples/Example9_RateTesting

Result: PASS

Sketch uses 84108 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 44284 bytes (16%) of dynamic memory, leaving 226052 bytes for local variables. Maximum is 270336 bytes.

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: PASS

Sketch uses 3104 bytes (6%) of program storage space. Maximum is 49152 bytes.
Global variables use 317 bytes (5%) of dynamic memory, leaving 5827 bytes for local variables. Maximum is 6144 bytes.
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.h:20:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.cpp:12:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h: In member function 'uint8_t MAX30105::readRegister8(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~

examples/Example1_Basic_Readings

Result: PASS

Sketch uses 6822 bytes (13%) of program storage space. Maximum is 49152 bytes.
Global variables use 539 bytes (8%) of dynamic memory, leaving 5605 bytes for local variables. Maximum is 6144 bytes.
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.h:20:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.cpp:12:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h: In member function 'uint8_t MAX30105::readRegister8(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~

examples/Example2_Presence_Sensing

Result: PASS

Sketch uses 8624 bytes (17%) of program storage space. Maximum is 49152 bytes.
Global variables use 551 bytes (8%) of dynamic memory, leaving 5593 bytes for local variables. Maximum is 6144 bytes.
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.h:20:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.cpp:12:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h: In member function 'uint8_t MAX30105::readRegister8(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~

examples/Example3_Temperature_Sense

Result: PASS

Sketch uses 7508 bytes (15%) of program storage space. Maximum is 49152 bytes.
Global variables use 539 bytes (8%) of dynamic memory, leaving 5605 bytes for local variables. Maximum is 6144 bytes.
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.h:20:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.cpp:12:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h: In member function 'uint8_t MAX30105::readRegister8(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~

examples/Example4_HeartBeat_Plotter

Result: PASS

Sketch uses 6797 bytes (13%) of program storage space. Maximum is 49152 bytes.
Global variables use 539 bytes (8%) of dynamic memory, leaving 5605 bytes for local variables. Maximum is 6144 bytes.

examples/Example5_HeartRate

Result: PASS

Sketch uses 9175 bytes (18%) of program storage space. Maximum is 49152 bytes.
Global variables use 635 bytes (10%) of dynamic memory, leaving 5509 bytes for local variables. Maximum is 6144 bytes.
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.h:20:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/src/MAX30105.cpp:12:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h: In member function 'uint8_t MAX30105::readRegister8(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~

examples/Example6_FIFO_Readings

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:36:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:50:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:58:18: error: 'class MAX30105' has no member named 'check'
   particleSensor.check(); //Check the sensor, read up to 3 samples
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:65:33: error: 'class MAX30105' has no member named 'getFIFORed'
     Serial.print(particleSensor.getFIFORed());
                                 ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:67:33: error: 'class MAX30105' has no member named 'getFIFOIR'
     Serial.print(particleSensor.getFIFOIR());
                                 ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:69:33: error: 'class MAX30105' has no member named 'getFIFOGreen'
     Serial.print(particleSensor.getFIFOGreen());
                                 ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:76:20: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^~~~~~~~~~
                    readSample
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:22:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h: In instantiation of 'bool MAX3010x<MAX3010xImpl, MAX3010xSample>::readBlock(uint8_t, uint8_t, uint8_t*) [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h:327:18:   required from 'uint8_t MAX3010x<MAX3010xImpl, MAX3010xSample>::available() [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]'
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:60:35:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library

examples/Example7_Basic_Readings_Interrupts

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:40:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:54:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:56:18: error: 'class MAX30105' has no member named 'enableAFULL'
   particleSensor.enableAFULL(); //Enable the almost full interrupt (default is 32 samples)
                  ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:58:18: error: 'class MAX30105' has no member named 'setFIFOAlmostFull'
   particleSensor.setFIFOAlmostFull(3); //Set almost full int to fire at 29 samples
                  ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:65:18: error: 'class MAX30105' has no member named 'check'
   particleSensor.check(); //Check the sensor, read up to 3 samples
                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:72:33: error: 'class MAX30105' has no member named 'getRed'
     Serial.print(particleSensor.getRed());
                                 ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:74:33: error: 'class MAX30105' has no member named 'getIR'
     Serial.print(particleSensor.getIR());
                                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:76:33: error: 'class MAX30105' has no member named 'getGreen'
     Serial.print(particleSensor.getGreen());
                                 ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:86:33: error: 'class MAX30105' has no member named 'getINT1'
     byte flags = particleSensor.getINT1(); //Software way of reading interrupts
                                 ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:96:20: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^~~~~~~~~~
                    readSample
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:22:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h: In instantiation of 'bool MAX3010x<MAX3010xImpl, MAX3010xSample>::readBlock(uint8_t, uint8_t, uint8_t*) [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h:327:18:   required from 'uint8_t MAX3010x<MAX3010xImpl, MAX3010xSample>::available() [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]'
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:67:35:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101

examples/Example8_SPO2

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:64:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:81:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:92:22: error: 'class MAX30105' has no member named 'check'
       particleSensor.check(); //Check the sensor for new data
                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:94:35: error: 'class MAX30105' has no member named 'getRed'
     redBuffer[i] = particleSensor.getRed();
                                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:95:34: error: 'class MAX30105' has no member named 'getIR'
     irBuffer[i] = particleSensor.getIR();
                                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:96:20: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^~~~~~~~~~
                    readSample
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:121:24: error: 'class MAX30105' has no member named 'check'
         particleSensor.check(); //Check the sensor for new data
                        ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:125:37: error: 'class MAX30105' has no member named 'getRed'
       redBuffer[i] = particleSensor.getRed();
                                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:126:36: error: 'class MAX30105' has no member named 'getIR'
       irBuffer[i] = particleSensor.getIR();
                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:127:22: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
       particleSensor.nextSample(); //We're finished with this sample so move to next sample
                      ^~~~~~~~~~
                      readSample
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:29:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h: In instantiation of 'bool MAX3010x<MAX3010xImpl, MAX3010xSample>::readBlock(uint8_t, uint8_t, uint8_t*) [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h:327:18:   required from 'uint8_t MAX3010x<MAX3010xImpl, MAX3010xSample>::available() [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]'
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:91:37:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
Multiple libraries were found for "spo2_algorithm.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101

examples/Example9_RateTesting

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:49:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:63:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:73:20: error: 'class MAX30105' has no member named 'check'
     particleSensor.check(); //Check the sensor, read up to 3 samples
                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:77:22: error: 'class MAX30105' has no member named 'getFIFOIR'
       particleSensor.getFIFOIR();
                      ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:78:22: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
       particleSensor.nextSample(); //We're finished with this sample so move to next sample
                      ^~~~~~~~~~
                      readSample
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:37:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h: In instantiation of 'bool MAX3010x<MAX3010xImpl, MAX3010xSample>::readBlock(uint8_t, uint8_t, uint8_t*) [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_core.h:327:18:   required from 'uint8_t MAX3010x<MAX3010xImpl, MAX3010xSample>::available() [with MAX3010xImpl = MAX30105; MAX3010xSample = MAX30105Sample; uint8_t = unsigned char]'
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example9_RateTesting/Example9_RateTesting.ino:74:37:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
     size_t requestFrom(int, int);
            ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/libraries/Wire/src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
     size_t requestFrom(uint8_t, size_t);
            ^~~~~~~~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: PASS

Sketch uses 13588 bytes (5%) of program storage space. Maximum is 262144 bytes.
Global variables use 3568 bytes (10%) of dynamic memory, leaving 29200 bytes for local variables. Maximum is 32768 bytes.

examples/Example1_Basic_Readings

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:9: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
         ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino:42:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(); //Configure sensor. Use 6.4mA for LED drive
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino:48:30: error: 'class MAX30105' has no member named 'getRed'
   debug.print(particleSensor.getRed());
                              ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino:50:30: error: 'class MAX30105' has no member named 'getIR'
   debug.print(particleSensor.getIR());
                              ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example1_Basic_Readings/Example1_Basic_Readings.ino:52:30: error: 'class MAX30105' has no member named 'getGreen'
   debug.print(particleSensor.getGreen());
                              ^~~~~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library

examples/Example2_Presence_Sensing

Result: PASS

Sketch uses 24092 bytes (9%) of program storage space. Maximum is 262144 bytes.
Global variables use 3640 bytes (11%) of dynamic memory, leaving 29128 bytes for local variables. Maximum is 32768 bytes.

examples/Example3_Temperature_Sense

Result: PASS

Sketch uses 24044 bytes (9%) of program storage space. Maximum is 262144 bytes.
Global variables use 3628 bytes (11%) of dynamic memory, leaving 29140 bytes for local variables. Maximum is 32768 bytes.

examples/Example4_HeartBeat_Plotter

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:34:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:34:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:9: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
         ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:44:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:44:35: note: suggested alternative: 'TCC_PER_MASK'
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
                                   TCC_PER_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:58:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:68:33: error: 'class MAX30105' has no member named 'getIR'
     baseValue += particleSensor.getIR(); //Read the IR value
                                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino:79:33: error: 'class MAX30105' has no member named 'getIR'
   Serial.println(particleSensor.getIR()); //Send raw data to plotter
                                 ^~~~~
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library

examples/Example5_HeartRate

Result: PASS

Sketch uses 26296 bytes (10%) of program storage space. Maximum is 262144 bytes.
Global variables use 3752 bytes (11%) of dynamic memory, leaving 29016 bytes for local variables. Maximum is 32768 bytes.

examples/Example6_FIFO_Readings

Result: PASS

Sketch uses 23968 bytes (9%) of program storage space. Maximum is 262144 bytes.
Global variables use 3636 bytes (11%) of dynamic memory, leaving 29132 bytes for local variables. Maximum is 32768 bytes.

examples/Example7_Basic_Readings_Interrupts

Result: PASS

Sketch uses 24312 bytes (9%) of program storage space. Maximum is 262144 bytes.
Global variables use 3652 bytes (11%) of dynamic memory, leaving 29116 bytes for local variables. Maximum is 32768 bytes.

examples/Example8_SPO2

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:30:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:30:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:9: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
         ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:12: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
            ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:9: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
         ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:12: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:64:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:64:35: note: suggested alternative: 'TCC_PER_MASK'
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^~~~~~~~~~~~~~
                                   TCC_PER_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:81:18: error: 'class MAX30105' has no member named 'setup'; did you mean 'setBit'?
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^~~~~
                  setBit
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:92:22: error: 'class MAX30105' has no member named 'check'
       particleSensor.check(); //Check the sensor for new data
                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:94:35: error: 'class MAX30105' has no member named 'getRed'
     redBuffer[i] = particleSensor.getRed();
                                   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:95:34: error: 'class MAX30105' has no member named 'getIR'
     irBuffer[i] = particleSensor.getIR();
                                  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:96:20: error: 'class MAX30105' has no member named 'nextSample'; did you mean 'readSample'?
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^~~~~~~~~~
                    readSample
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example8_SPO2/Example8_SPO2.ino:121:24: error: 'class MAX30105' has no member named 'check'
         particleSensor.check(); //Check the sensor for new data
                        ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/S

examples/Example9_RateTesting

Result: PASS

Sketch uses 24060 bytes (9%) of program storage space. Maximum is 262144 bytes.
Global variables use 3628 bytes (11%) of dynamic memory, leaving 29140 bytes for local variables. Maximum is 32768 bytes.

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: PASS

Sketch uses 203562 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13896 bytes (4%) of dynamic memory, leaving 313784 bytes for local variables. Maximum is 327680 bytes.

examples/Example1_Basic_Readings

Result: PASS

Sketch uses 215930 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14208 bytes (4%) of dynamic memory, leaving 313472 bytes for local variables. Maximum is 327680 bytes.

examples/Example2_Presence_Sensing

Result: PASS

Sketch uses 216562 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14224 bytes (4%) of dynamic memory, leaving 313456 bytes for local variables. Maximum is 327680 bytes.

examples/Example3_Temperature_Sense

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:51: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:59: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
                                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:60: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino:32:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino:40:18: error: 'class MAX30105' has no member named 'setup'
   particleSensor.setup(0); //Configure sensor. Turn off LEDs
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino:43:18: error: 'class MAX30105' has no member named 'enableDIETEMPRDY'
   particleSensor.enableDIETEMPRDY(); //Enable the temp ready interrupt. This is required.
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example3_Temperature_Sense/Example3_Temperature_Sense.ino:53:39: error: 'class MAX30105' has no member named 'readTemperatureF'
   float temperatureF = particleSensor.readTemperatureF(); //Because I am a bad global citizen
                                       ^
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101

examples/Example4_HeartBeat_Plotter

Result: PASS

Sketch uses 215870 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14208 bytes (4%) of dynamic memory, leaving 313472 bytes for local variables. Maximum is 327680 bytes.

examples/Example5_HeartRate

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:27:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:27:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:51: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:59: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
                                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:60: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:47:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:54:18: error: 'class MAX30105' has no member named 'setup'
   particleSensor.setup(); //Configure sensor with default settings
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:55:18: error: 'class MAX30105' has no member named 'setPulseAmplitudeRed'
   particleSensor.setPulseAmplitudeRed(0x0A); //Turn Red LED to low to indicate sensor is running
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:56:18: error: 'class MAX30105' has no member named 'setPulseAmplitudeGreen'
   particleSensor.setPulseAmplitudeGreen(0); //Turn off Green LED
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example5_HeartRate/Example5_HeartRate.ino:61:33: error: 'class MAX30105' has no member named 'getIR'
   long irValue = particleSensor.getIR();
                                 ^
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
Multiple libraries were found for "heartRate.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/VNCL4020C-Arduino
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/EmotiBit_MAX30101

examples/Example6_FIFO_Readings

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:51: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:59: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
                                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:60: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:36:34: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (particleSensor.begin(Wire, I2C_SPEED_FAST) == false) //Use default I2C port, 400kHz speed
                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:50:18: error: 'class MAX30105' has no member named 'setup'
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:58:18: error: 'class MAX30105' has no member named 'check'
   particleSensor.check(); //Check the sensor, read up to 3 samples
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:65:33: error: 'class MAX30105' has no member named 'getFIFORed'
     Serial.print(particleSensor.getFIFORed());
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:67:33: error: 'class MAX30105' has no member named 'getFIFOIR'
     Serial.print(particleSensor.getFIFOIR());
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:69:33: error: 'class MAX30105' has no member named 'getFIFOGreen'
     Serial.print(particleSensor.getFIFOGreen());
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example6_FIFO_Readings/Example6_FIFO_Readings.ino:76:20: error: 'class MAX30105' has no member named 'nextSample'
     particleSensor.nextSample(); //We're finished with this sample so move to next sample
                    ^
Multiple libraries were found for "MAX30105.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/librari

examples/Example7_Basic_Readings_Interrupts

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMultiLedConfigurationInternal(uint8_t, uint8_t*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: error: there are no arguments to 'clearFIFO' that depend on a template parameter, so a declaration of 'clearFIFO' must be available [-fpermissive]
     return clearFIFO();
                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:85:22: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX30105.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:23:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setMode(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Mode)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:113:51: error: there are no arguments to 'setModeInternal' that depend on a template parameter, so a declaration of 'setModeInternal' must be available [-fpermissive]
     if(!setModeInternal(static_cast<uint8_t>(mode))) return false;
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSamplingRate(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SamplingRate)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:143:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:148:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setADCRange(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::ADCRange)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:170:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:175:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setResolution(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::Resolution)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:197:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(SPO2_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:202:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(SPO2_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::enableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:210:59: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, true);
                                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::disableFIFORollover()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:218:60: error: there are no arguments to 'setBit' that depend on a template parameter, so a declaration of 'setBit' must be available [-fpermissive]
     return setBit(FIFO_CFG_REG, FIFO_ROLLOVER_EN_BIT, false);
                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h: In member function 'bool MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::setSampleAveraging(MAX3010xMultiLed<MAX3010xImpl, MAX3010xSample>::SampleAveraging)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:243:35: error: there are no arguments to 'readByte' that depend on a template parameter, so a declaration of 'readByte' must be available [-fpermissive]
     if(!readByte(FIFO_CFG_REG, cfg)) return false;
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/MAX3010x_Sensor_Library/src/MAX3010x_multiLed_core.h:248:39: error: there are no arguments to 'writeByte' that depend on a template parameter, so a declaration of 'writeByte' must be available [-fpermissive]
     return writeByte(FIFO_CFG_REG, cfg);
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:40:35: error: 'I2C_SPEED_FAST' was not declared in this scope
   if (!particleSensor.begin(Wire, I2C_SPEED_FAST)) //Use default I2C port, 400kHz speed
                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:54:18: error: 'class MAX30105' has no member named 'setup'
   particleSensor.setup(ledBrightness, sampleAverage, ledMode, sampleRate, pulseWidth, adcRange); //Configure sensor with these settings
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:56:18: error: 'class MAX30105' has no member named 'enableAFULL'
   particleSensor.enableAFULL(); //Enable the almost full interrupt (default is 32 samples)
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:58:18: error: 'class MAX30105' has no member named 'setFIFOAlmostFull'
   particleSensor.setFIFOAlmostFull(3); //Set almost full int to fire at 29 samples
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:65:18: error: 'class MAX30105' has no member named 'check'
   particleSensor.check(); //Check the sensor, read up to 3 samples
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readings_Interrupts.ino:72:33: error: 'class MAX30105' has no member named 'getRed'
     Serial.print(particleSensor.getRed());
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SparkFun_MAX3010x_Pulse_and_Proximity_Sensor_Library/examples/Example7_Basic_Readings_Interrupts/Example7_Basic_Readin

examples/Example8_SPO2

Result: PASS

Sketch uses 217926 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15848 bytes (4%) of dynamic memory, leaving 311832 bytes for local variables. Maximum is 327680 bytes.

examples/Example9_RateTesting

Result: PASS

Sketch uses 216514 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14208 bytes (4%) of dynamic memory, leaving 313472 bytes for local variables. Maximum is 327680 bytes.