Taylor Street / AkmSensor

Fork of AkmSensor by AKM Development Platform

Revision:
7:e269411568c9
Parent:
3:a817a3b3e9ae
Child:
9:6fa3e7b17c27
--- a/akmirsensor.cpp	Fri May 13 23:52:37 2016 +0000
+++ b/akmirsensor.cpp	Thu May 26 21:56:45 2016 +0000
@@ -26,8 +26,7 @@
     primaryId = id;
     subId = subid;
 
-    interrupt = new InterruptIn(DRDY);    
-
+    interrupt = new InterruptIn(I2C_DRDY);    
     I2C* i2c = new I2C(I2C_SDA,I2C_SCL);
     i2c->frequency(I2C_SPEED_100KHZ);