Goran Kecman / ISL1208_fork

Fork of ISL1208 by Neil Thiessen

Revision:
6:c0635401a37f
Parent:
5:d67ac8351c76
Child:
7:00b8ead188f8
diff -r d67ac8351c76 -r c0635401a37f ISL1208.h
--- a/ISL1208.h	Tue Nov 12 21:42:44 2013 +0000
+++ b/ISL1208.h	Fri May 02 17:27:38 2014 +0000
@@ -138,8 +138,9 @@
      *
      * @param sda The I2C data pin.
      * @param scl The I2C clock pin.
+     * @param hz The I2C bus frequency (defaults to 400kHz).
      */
-    ISL1208(PinName sda, PinName scl);
+    ISL1208(PinName sda, PinName scl, int hz = 400000);
 
     /** Probe for the ISL1208 and configure auto reset if present
      *