please reply
I selected this one http://www.brokking.net/ymfc-32_main.html.
Then I downloaded "Arduino_STM32-master.zip" and "YMFC-32.zip".
After unpacking the "YMFC-32.zip file, the file that you showed is in: YMFC-32/YMFC-32_Setup_ver-1a/YMFC-32_Setup_ver-1a.ino
The HardWire library itself is not included, and it is confusing.
In the file "rules.mk" is this note:
HardWire has been changed to the default Wire (TwoWire)
Joop Brokking does not seem to be on Github, so it is not easy to check if others have the same problem. He seems to have used "HardWire" in the past and has moved on to the normal Arduino "Wire".
You can try to replace the HardWire with the Arduino TwoWire:
// HardWire HWire(2, I2C_FAST_MODE);
TwoWire HWire(2, I2C_FAST_MODE);
You can try to contact Joop Brokking via his website.
Or you can try to download the "HardWire" library from another project.
Sorry that I don't have a quick solution. Joop Brokking created this problem, he should fix it.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.