KL25Z - Wi-Go kit. Demo code using ComparatorIn and TEMT6200 libraries.

Dependencies:   ComparatorIn TEMT6200 mbed

Revision:
4:be4578b3795b
Parent:
2:de1e7dab31f6
--- a/main.cpp	Sun Aug 25 18:02:59 2013 +0000
+++ b/main.cpp	Thu Oct 24 06:26:01 2013 +0000
@@ -30,7 +30,6 @@
     compi.rising(&ambi_rise);                         // Set comparator rising int callback to ambi_rise
     compi.falling(&ambi_fall);                        // Set comparator falling int callback to ambi_fall
     compi.treshold(ambi.lux_pct(300.0));              // Set ISR treshold to 300lux
-    compi.int_en(1);                                  // Enable comparator interrupt
 
     cmpled = 1;