C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp: In member function 'bool MAX30100::begin()':
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp:30:10: error: 'class TwoWire' has no member named 'setClock'
Wire.setClock(I2C_BUS_SPEED);
^
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp: In member function 'void MAX30100::readFifoData()':
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp:146:32: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
readoutsBuffer.push({
^
exit status 1
Error compiling for board LinkIt ONE.
Description of the issue
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp: In member function 'bool MAX30100::begin()':
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp:30:10: error: 'class TwoWire' has no member named 'setClock'
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp: In member function 'void MAX30100::readFifoData()':
C:\Users\user\Desktop\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp:146:32: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
exit status 1 Error compiling for board LinkIt ONE.