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.
Dependents: mDotEVBM2X MTDOT-EVBDemo-DRH MTDOT-BOX-EVB-Factory-Firmware-LIB-108 MTDOT-UDKDemo_Senet ... more
Diff: ISL29011.cpp
- Revision:
- 1:f5b5a0477f46
- Parent:
- 0:b37e4acdfa7b
- Child:
- 2:71053376b55a
--- a/ISL29011.cpp Mon Jul 06 19:35:14 2015 +0000
+++ b/ISL29011.cpp Mon Jul 06 21:08:42 2015 +0000
@@ -2,7 +2,7 @@
* @file ISL29011.cpp
* @brief Device driver - ISL29011 Ambient Light/IR Proximity Sensor IC
* @author Tim Barr
- * @version 1.0
+ * @version 1.01
* @see http://www.intersil.com/content/dam/Intersil/documents/isl2/isl29011.pdf
*
* Copyright (c) 2015
@@ -18,12 +18,14 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * 1.01 TAB 7/6/15 Removed "= NULL" reference from object call. Only needs to be in .h file
*/
#include "ISL29011.h"
#include "mbed_debug.h"
-ISL29011::ISL29011(I2C &i2c, InterruptIn* isl_int = NULL)
+ISL29011::ISL29011(I2C &i2c, InterruptIn* isl_int)
{
_i2c = &i2c;
_isl_int = isl_int;