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 ISL1208 by
Diff: ISL1208.h
- Revision:
- 7:00b8ead188f8
- Parent:
- 6:c0635401a37f
--- a/ISL1208.h Fri May 02 17:27:38 2014 +0000 +++ b/ISL1208.h Tue Apr 03 09:08:36 2018 +0000 @@ -140,7 +140,8 @@ * @param scl The I2C clock pin. * @param hz The I2C bus frequency (defaults to 400kHz). */ - ISL1208(PinName sda, PinName scl, int hz = 400000); + //ISL1208(PinName sda, PinName scl, int hz = 400000); + ISL1208(I2C *p_I2C = NULL); /** Probe for the ISL1208 and configure auto reset if present * @@ -342,7 +343,7 @@ static const int m_ADDR; //Member variables - I2C m_I2C; + I2C *m_I2C; //Internal functions char read8(char reg);