htu21d_for_weather_shield

Dependents:   SPARKFUN_WEATHER_SHIELD

Fork of htu21d by Kevin Braun

Revision:
4:fe060047cc24
Parent:
3:5c0f8e91d319
diff -r 5c0f8e91d319 -r fe060047cc24 htu21d.h
--- a/htu21d.h	Thu Apr 30 00:34:03 2015 +0000
+++ b/htu21d.h	Thu Oct 20 16:47:38 2016 +0000
@@ -104,7 +104,7 @@
      *
      * @param PinName sda and scl, mbed I2C interface pins
      */
-    htu21d(PinName sda, PinName scl);
+    htu21d(I2C i2c);
     /**
      * Constructor
      * - Fixed at I2C address 0x80
@@ -113,7 +113,6 @@
      * @param PinName sda and scl, mbed I2C interface pins 
      * @param int I2C frequency
      */
-    htu21d(PinName sda, PinName scl, int i2cFrequency);
     /**
      * Destructor
      *