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:
- 4:68e1b36becb0
- Parent:
- 3:939090042b32
- Child:
- 5:24039cc86fc1
--- a/MAX30205.h Fri Apr 07 21:14:44 2017 +0000
+++ b/MAX30205.h Fri Apr 07 21:41:27 2017 +0000
@@ -86,17 +86,15 @@
* @param sda - Pinname for sda
* @param scl - Pinname for scl
* @param slaveAddress - 7-bit I2C address
- * @param os - GPIO pin for Over Temperature Shutdown int if used
*/
- MAX30205(PinName sda, PinName scl, uint8_t slaveAddress, PinName os = NC);
+ MAX30205(PinName sda, PinName scl, uint8_t slaveAddress);
/**
* @brief Constructor using reference to I2C object
* @param i2c - Reference to I2C object
* @param slaveAddress - 7-bit I2C address
- * @param os - GPIO pin for Over Temperature Shutdown int if used
*/
- MAX30205(I2C &i2c, uint8_t slaveAddress, PinName os = NC);
+ MAX30205(I2C &i2c, uint8_t slaveAddress);
/** @brief Destructor */
~MAX30205(void);
@@ -185,10 +183,8 @@
private:
/// I2C object
I2C m_i2c;
- /// Device slave address
+ /// Device slave addresses
uint8_t m_writeAddress, m_readAddress;
- /// Over temperature shutdown interrupt pin
- DigitalIn m_os;
};
#endif /* __MAX30205_H_ */
