Now you can use NC as InterruptIn

Dependencies:   X_NUCLEO_COMMON

Fork of X_NUCLEO_6180XA1 by ST

Revision:
28:7c9031e96c22
Parent:
27:22c6f69967d9
Child:
36:f6278b3e7c82
--- a/x_nucleo_6180xa1.cpp	Wed Nov 04 17:17:35 2015 +0100
+++ b/x_nucleo_6180xa1.cpp	Thu Nov 05 17:20:03 2015 +0100
@@ -48,7 +48,7 @@
    if(_instance==NULL)
       _instance=new X_NUCLEO_6180XA1(ext_i2c);
    else
-      printf("Failed to init X_NUCLEO_6180XA1 board!\n");
+      VL6180x_ErrLog("Failed to create X_NUCLEO_6180XA1 instance\n\r");
    return _instance;
 }