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.
Fork of MAX30205 by
Diff: MAX30205.h
- Revision:
- 8:2aeb45dd2bb9
- Parent:
- 7:f005887f21e7
- Child:
- 9:2b8357c91343
diff -r f005887f21e7 -r 2aeb45dd2bb9 MAX30205.h --- a/MAX30205.h Thu May 18 20:50:39 2017 +0000 +++ b/MAX30205.h Thu Jul 27 22:49:16 2017 +0000 @@ -92,14 +92,6 @@ uint8_t one_shot : 1; }bits; }; - - /** - * @brief Constructor using I2C PinNames - * @param sda - Pinname for sda - * @param scl - Pinname for scl - * @param slaveAddress - 7-bit I2C address - */ - MAX30205(PinName sda, PinName scl, uint8_t slaveAddress); /** * @brief Constructor using reference to I2C object @@ -194,7 +186,7 @@ private: /// I2C object - I2C m_i2c; + I2C & m_i2c; /// Device slave addresses uint8_t m_writeAddress, m_readAddress; };