I have a problem about Wire.h(I2C) lib

Can someone help me port this library?
Post Reply
jhlow
Posts: 3
Joined: Sun Jul 09, 2017 8:09 pm

I have a problem about Wire.h(I2C) lib

Post by jhlow » Mon Jul 10, 2017 4:22 am

My board is STM32F103C8T6.
I got two imformation of Log after upload my arduino code.
the log information of the following:


C:\Users\user\Documents\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp: In member function 'bool MAX30100::begin()':

C:\Users\user\Documents\Arduino\libraries\Arduino-MAX30100-master\src\MAX30100.cpp:30:10: error: 'class TwoWire' has no member named 'setClock'

Wire.setClock(I2C_BUS_SPEED);

jhlow
Posts: 3
Joined: Sun Jul 09, 2017 8:09 pm

Re: I have a problem about Wire.h(I2C) lib

Post by jhlow » Tue Jul 11, 2017 2:44 pm

BTW
I upload the Arduino source code that is "MAX30100_RawData" in the github link.

https://github.com/oxullo/Arduino-MAX30 ... r/examples

User avatar
RogerClark
Posts: 7539
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: I have a problem about Wire.h(I2C) lib

Post by RogerClark » Fri Aug 18, 2017 10:46 am

Is this issue resolved?

Post Reply