Saw Zheng Yi / Mbed 2 deprecated IDP_LCD_POWER

Dependencies:   ESP8266 Servo TextLCD mbed

Fork of ACS712HelloWorldDemo by m b

Revision:
2:2b5233355986
Parent:
1:4f9effb20c29
Child:
3:9cae7baf7ccd
--- a/ACS712.h	Sun Mar 13 16:43:23 2016 +0000
+++ b/ACS712.h	Sun Mar 13 16:51:20 2016 +0000
@@ -19,7 +19,7 @@
 
 ACS712::ACS712(PinName _pin, float voltDivRatio, short type) : sensor(_pin){
     ratio = voltDivRatio;
-    type = type;    
+    this.type = type;    
 }
 
 float ACS712::translate(float val){