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

Dependencies:   ComparatorIn TEMT6200 mbed

Files at this revision

API Documentation at this revision

Comitter:
frankvnk
Date:
Thu Oct 24 06:26:01 2013 +0000
Parent:
3:bce9a37942d3
Commit message:
int_en removed from demo

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bce9a37942d3 -r be4578b3795b main.cpp
--- 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;