version one

Fork of SHTx by Roy van Dam

Revision:
2:cd8e210049b9
Parent:
1:8465801be23f
--- a/sht15.cpp	Fri Nov 19 16:24:46 2010 +0000
+++ b/sht15.cpp	Mon Mar 04 19:11:37 2013 +0000
@@ -68,11 +68,11 @@
         return this->writeRegister();
     }
 
-	bool
-	SHT15::setOTPReload(bool value) {
-		this->setFlag(flag_otp_reload, !value);
-		return this->writeRegister();
-	}
+    bool
+    SHT15::setOTPReload(bool value) {
+        this->setFlag(flag_otp_reload, !value);
+        return this->writeRegister();
+    }
 
     void
     SHT15::setScale(bool value) {
@@ -106,17 +106,17 @@
             this->status_register = 0;
             this->humidity = 0;
             this->temperature = 0;            
-			wait_ms(11);
+            wait_ms(11);
             return true;
         }
     
         return false;
     }
 
-	void
-	SHT15::connectionReset(void) {
-		this->i2c.reset();
-	}
+    void
+    SHT15::connectionReset(void) {
+        this->i2c.reset();
+    }
 
     float
     SHT15::convertTemperature(uint16_t sot, bool res, bool scale) {