InterruptIn program for mbed NXP LPC11U24 beta

Revision:
1:2885d2e0189f
Parent:
0:8ee2824fa192
--- a/main.cpp	Thu Oct 20 11:07:07 2011 +0000
+++ b/main.cpp	Thu Oct 20 11:12:10 2011 +0000
@@ -4,9 +4,7 @@
 InterruptIn din(p14);
 
 void int_handler () {
-    led3 = 1;
-    wait(0.25);
-    led3 = 0;
+    led3 = !led3;
 }
 
 int main () {