This fork of the MBED Library allows you to use counters on the external counter pins (15/16 for Timer 3, 29/30 for Timer 2) by switching internal timing functions in MBED to utilize Timer 0

Fork of mbed-src by mbed official

Revision:
47:02833c62d054
Parent:
46:bebbbd80dd87
Child:
64:7b352733b00a
diff -r bebbbd80dd87 -r 02833c62d054 targets/hal/TARGET_NXP/TARGET_LPC81X/device.h
--- a/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h	Mon Nov 11 13:30:09 2013 +0000
+++ b/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h	Thu Nov 21 10:00:05 2013 +0000
@@ -44,7 +44,7 @@
 #define DEVICE_SEMIHOST         0
 #define DEVICE_LOCALFILESYSTEM  0
 
-#define DEVICE_SLEEP            0
+#define DEVICE_SLEEP            1
 
 #define DEVICE_DEBUG_AWARENESS  0