Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: JY901.cpp
- Revision:
- 7:a06925c41956
- Parent:
- 5:a492cfb18242
- Child:
- 8:4908ba252e9d
--- a/JY901.cpp Wed Nov 14 02:18:02 2018 +0000 +++ b/JY901.cpp Mon Apr 12 01:47:17 2021 +0000 @@ -1,10 +1,10 @@ #include "JY901.h" -JY901::JY901(I2C *i2c) +JY901::JY901(SoftI2C *i2c) { _i2c = i2c; } -JY901::JY901(I2C *i2c, Timer *timer) +JY901::JY901(SoftI2C *i2c, Timer *timer) { _i2c = i2c; _timer = timer;